mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 376564, Incorrect decompilation for "new (eval())". r=brendan.
This commit is contained in:
parent
f945d92af9
commit
6974638dca
@ -3150,7 +3150,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
op = ss->opcodes[ss->top-1];
|
||||
lval = PopStr(ss,
|
||||
(saveop == JSOP_NEW &&
|
||||
(op == JSOP_CALL ||
|
||||
(op == JSOP_CALL || op == JSOP_EVAL ||
|
||||
(js_CodeSpec[op].format & JOF_CALLOP)))
|
||||
? JSOP_NAME
|
||||
: saveop);
|
||||
|
Loading…
Reference in New Issue
Block a user