Fix JSOP_GROUP decompilation to propagate lastop to saveop (to lastop again on next iteration, in case of cascading groups; 351597, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@209305 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1227,7 +1227,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
* that the auto-parens magic in PopOff can do its thing.
|
||||
*/
|
||||
LOCAL_ASSERT(ss->top != 0);
|
||||
ss->opcodes[ss->top-1] = lastop;
|
||||
ss->opcodes[ss->top-1] = saveop = lastop;
|
||||
todo = -2;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user