mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142331 - Don't optimize out scope chain slot in resume points for heavyweight functions, r=jandem.
This commit is contained in:
parent
764285660f
commit
8db502b52e
@ -493,6 +493,9 @@ class CompileInfo
|
||||
if (slot == thisSlot())
|
||||
return true;
|
||||
|
||||
if (funMaybeLazy()->isHeavyweight() && slot == scopeChainSlot())
|
||||
return true;
|
||||
|
||||
// If the function may need an arguments object, then make sure to
|
||||
// preserve the scope chain, because it may be needed to construct the
|
||||
// arguments object during bailout. If we've already created an
|
||||
|
Loading…
Reference in New Issue
Block a user