mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-25 06:28:30 +00:00
#596: M1620203
This commit is contained in:
parent
85161d5736
commit
f1303f04c9
@ -529,7 +529,7 @@ class CompileInfo
|
||||
|
||||
// Function.arguments can be used to access all arguments in non-strict
|
||||
// scripts, so we can't optimize out any arguments.
|
||||
if ((hasArguments() || !script()->strict()) &&
|
||||
if ((mayReadFrameArgsDirectly_ || !script()->strict()) &&
|
||||
firstArgSlot() <= slot && slot - firstArgSlot() < nargs())
|
||||
{
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user