Backed out changeset bbc35ec2c90e (bug 1061214)
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 10 Oct 2014 12:09:10 -0400
changeset 258698 6b3eed217425
parent 258697 1233c159ab6d
child 258699 a485602f5cb1
push id4700
push userryanvm@gmail.com
push date2015-04-21 23:53 +0000
treeherdermozilla-beta@d27c9211ebb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1061214
milestone33.0
backs outbbc35ec2c90e
Backed out changeset bbc35ec2c90e (bug 1061214)
js/src/jit/VMFunctions.h
--- a/js/src/jit/VMFunctions.h
+++ b/js/src/jit/VMFunctions.h
@@ -375,28 +375,16 @@ template <> struct TypeToRootType<Mutabl
     static const uint32_t result = VMFunction::RootValue;
 };
 template <> struct TypeToRootType<HandleShape> {
     static const uint32_t result = VMFunction::RootCell;
 };
 template <> struct TypeToRootType<HandleTypeObject> {
     static const uint32_t result = VMFunction::RootCell;
 };
-template <> struct TypeToRootType<HandleScript> {
-    static const uint32_t result = VMFunction::RootCell;
-};
-template <> struct TypeToRootType<Handle<StaticBlockObject *> > {
-    static const uint32_t result = VMFunction::RootObject;
-};
-template <> struct TypeToRootType<Handle<StaticWithObject *> > {
-    static const uint32_t result = VMFunction::RootCell;
-};
-template <class T> struct TypeToRootType<Handle<T> > {
-    // Fail for Handle types that aren't specialized above.
-};
 
 template <class> struct OutParamToDataType { static const DataType result = Type_Void; };
 template <> struct OutParamToDataType<Value *> { static const DataType result = Type_Value; };
 template <> struct OutParamToDataType<int *> { static const DataType result = Type_Int32; };
 template <> struct OutParamToDataType<uint32_t *> { static const DataType result = Type_Int32; };
 template <> struct OutParamToDataType<uint8_t **> { static const DataType result = Type_Pointer; };
 template <> struct OutParamToDataType<bool *> { static const DataType result = Type_Bool; };
 template <> struct OutParamToDataType<double *> { static const DataType result = Type_Double; };