mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix assertion to allow for generator entry point (521694, r=dvander).
This commit is contained in:
parent
48efd3883f
commit
c7006c3661
@ -2230,8 +2230,9 @@ BEGIN_CASE(JSOP_APPLY)
|
||||
#ifdef DEBUG
|
||||
JSOp traceOp = js_GetOpcode(cx, fp->script,
|
||||
fp->regs->pc);
|
||||
JS_ASSERT_IF(!fp->imacpc, traceOp == JSOP_TRACE ||
|
||||
traceOp == JSOP_NOP);
|
||||
JS_ASSERT_IF(!fp->imacpc,
|
||||
traceOp == JSOP_TRACE || traceOp == JSOP_NOP ||
|
||||
traceOp == JSOP_GENERATOR);
|
||||
#endif
|
||||
if (*fp->regs->pc == JSOP_TRACE)
|
||||
MONITOR_BRANCH(Monitor_EnterFrame);
|
||||
|
Loading…
Reference in New Issue
Block a user