mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-03-03 18:30:28 +00:00
M1357711
This commit is contained in:
parent
999e0bb484
commit
fb193fc0ae
@ -305,13 +305,6 @@ JSObject::makeLazyGroup(JSContext* cx, HandleObject obj)
|
||||
MOZ_ASSERT(obj->hasLazyGroup());
|
||||
MOZ_ASSERT(cx->compartment() == obj->compartment());
|
||||
|
||||
/* De-lazification of functions can GC, so we need to do it up here. */
|
||||
if (obj->is<JSFunction>() && obj->as<JSFunction>().isInterpretedLazy()) {
|
||||
RootedFunction fun(cx, &obj->as<JSFunction>());
|
||||
if (!fun->getOrCreateScript(cx))
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Find flags which need to be specified immediately on the object.
|
||||
// Don't track whether singletons are packed.
|
||||
ObjectGroupFlags initialFlags = OBJECT_FLAG_SINGLETON | OBJECT_FLAG_NON_PACKED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user