Bug 376564, Incorrect decompilation for "new (eval())". r=brendan.

This commit is contained in:
jruderman@hmc.edu 2007-04-04 20:24:41 -07:00
parent f945d92af9
commit 6974638dca

View File

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