Fix bogus assert, bug 717249. r=waldo

This commit is contained in:
Brian Hackett 2012-02-23 18:11:03 -08:00
parent 6befe68970
commit 709aa9af66

View File

@ -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;
}