mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix bogus assert, bug 717249. r=waldo
This commit is contained in:
parent
6befe68970
commit
709aa9af66
@ -1113,10 +1113,7 @@ class ScriptAnalysis
|
||||
{
|
||||
SSAUseChain *uses = useChain(SSAValue::PushedValue(pc - script->code, 0));
|
||||
JS_ASSERT(uses && uses->popped);
|
||||
JS_ASSERT_IF(uses->next,
|
||||
!uses->next->next &&
|
||||
uses->next->popped &&
|
||||
script->code[uses->next->offset] == JSOP_SWAP);
|
||||
JS_ASSERT(js_CodeSpec[script->code[uses->offset]].format & JOF_INVOKE);
|
||||
return script->code + uses->offset;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user