mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Backed out changeset 8f4e9cf85af8 (bug 989414) for jit-test failures.
CLOSED TREE
This commit is contained in:
parent
1388a9d276
commit
3e08a28dc2
@ -3587,7 +3587,7 @@ 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user