$OpenBSD$ index 7386e6e..8658bcb 100644 --- js/src/jit/VMFunctions.h.orig Fri Feb 20 15:40:37 2015 +++ js/src/jit/VMFunctions.h Fri Feb 20 15:40:37 2015 @@ -359,6 +359,18 @@ template <> struct TypeToRootType { template <> struct TypeToRootType { static const uint32_t result = VMFunction::RootCell; }; +template <> struct TypeToRootType { + static const uint32_t result = VMFunction::RootCell; +}; +template <> struct TypeToRootType > { + static const uint32_t result = VMFunction::RootObject; +}; +template <> struct TypeToRootType > { + static const uint32_t result = VMFunction::RootCell; +}; +template struct TypeToRootType > { + // Fail for Handle types that aren't specialized above. +}; template struct OutParamToDataType { static const DataType result = Type_Void; }; template <> struct OutParamToDataType { static const DataType result = Type_Value; };