Removed JSOP_HEADER code. Its too costly. This patch restore essentially the same performance as unmodified SM.
This commit is contained in:
@@ -2061,8 +2061,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
|
||||
|
||||
if (pc[next] != JSOP_GOTO && pc[next] != JSOP_GOTOX) {
|
||||
/* Decompile the loop updater. */
|
||||
DECOMPILE_CODE(pc + next, tail - next -
|
||||
(JSOP_POP_LENGTH + JSOP_HEADER_LENGTH));
|
||||
DECOMPILE_CODE(pc + next, tail - next - 1);
|
||||
js_printf(jp, " %s", POP_STR());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user