mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
1320408 - Part 4: Change JSObject::getGroup to static method.
This commit is contained in:
parent
ed78b21cf0
commit
87bfc02f09
14 changed files with 56 additions and 45 deletions
|
|
@ -4725,7 +4725,8 @@ js::RunOnceScriptPrologue(JSContext* cx, HandleScript script)
|
|||
|
||||
// Force instantiation of the script's function's group to ensure the flag
|
||||
// is preserved in type information.
|
||||
if (!script->functionNonDelazifying()->getGroup(cx))
|
||||
RootedFunction fun(cx, script->functionNonDelazifying());
|
||||
if (!JSObject::getGroup(cx, fun))
|
||||
return false;
|
||||
|
||||
MarkObjectGroupFlags(cx, script->functionNonDelazifying(), OBJECT_FLAG_RUNONCE_INVALIDATED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue