Removed JSOP_HEADER code. Its too costly. This patch restore essentially the same performance as unmodified SM.

This commit is contained in:
Andreas Gal
2008-06-10 14:44:51 -07:00
parent 3b4f869a0a
commit d48ad704b7
12 changed files with 8 additions and 199 deletions

View File

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