Backed out changeset 8f4e9cf85af8 (bug 989414) for jit-test failures.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 02 May 2014 13:23:23 -0400
changeset 181768 c8d9cc05d899ab1265c8ef9a1cfb6c2218d5dfb3
parent 181767 f88ba7ff41967c1e9658a667091e6aed4083a797
child 181769 8a6a5bfdedc6b0abcf64100cbb8d4eeada5ef180
child 181790 6a927b1634f666c450c6cfeff696cbbe7bd74ab1
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
bugs989414
milestone32.0a1
backs out8f4e9cf85af807633add95d9495ba1238a09bc59
Backed out changeset 8f4e9cf85af8 (bug 989414) for jit-test failures. CLOSED TREE
js/src/vm/Interpreter.cpp
--- a/js/src/vm/Interpreter.cpp
+++ b/js/src/vm/Interpreter.cpp
@@ -3582,17 +3582,17 @@ js::GetScopeNameForTypeOf(JSContext *cx,
     return JSObject::getProperty(cx, obj, obj, name, vp);
 }
 
 JSObject *
 js::Lambda(JSContext *cx, HandleFunction fun, HandleObject parent)
 {
     MOZ_ASSERT(!fun->isArrow());
 
-    RootedObject clone(cx, CloneFunctionObjectIfNotSingleton(cx, fun, parent));
+    RootedObject clone(cx, CloneFunctionObjectIfNotSingleton(cx, fun, parent, TenuredObject));
     if (!clone)
         return nullptr;
 
     MOZ_ASSERT(clone->global() == clone->global());
     return clone;
 }
 
 JSObject *