Backed out changeset 8f4e9cf85af8 (bug 989414) for jit-test failures.

CLOSED TREE
This commit is contained in:
Ryan VanderMeulen 2014-05-02 13:23:23 -04:00
parent 3b227aa061
commit 488c693db3

View File

@ -3587,7 +3587,7 @@ js::Lambda(JSContext *cx, HandleFunction fun, HandleObject parent)
{ {
MOZ_ASSERT(!fun->isArrow()); MOZ_ASSERT(!fun->isArrow());
RootedObject clone(cx, CloneFunctionObjectIfNotSingleton(cx, fun, parent)); RootedObject clone(cx, CloneFunctionObjectIfNotSingleton(cx, fun, parent, TenuredObject));
if (!clone) if (!clone)
return nullptr; return nullptr;