mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1104027 - Fix IonBuilder::jsop_setelem to not abort during arguments analysis. r=bhackett
This commit is contained in:
parent
99cf4dc87c
commit
7bf8e1b089
@ -8204,8 +8204,12 @@ IonBuilder::jsop_setelem()
|
||||
if (!setElemTryArguments(&emitted, object, index, value) || emitted)
|
||||
return emitted;
|
||||
|
||||
if (script()->argumentsHasVarBinding() && object->mightBeType(MIRType_MagicOptimizedArguments))
|
||||
if (script()->argumentsHasVarBinding() &&
|
||||
object->mightBeType(MIRType_MagicOptimizedArguments) &&
|
||||
info().executionMode() != ArgumentsUsageAnalysis)
|
||||
{
|
||||
return abort("Type is not definitely lazy arguments.");
|
||||
}
|
||||
|
||||
if (!setElemTryCache(&emitted, object, index, value) || emitted)
|
||||
return emitted;
|
||||
|
Loading…
Reference in New Issue
Block a user