JSOP_HEADER takes a byte index of loop header counting from script->loopBase, and related changes.

This commit is contained in:
Brendan Eich
2008-06-03 14:48:47 -07:00
parent 54c9bd721b
commit 3751ed1b89
9 changed files with 63 additions and 64 deletions

View File

@@ -436,7 +436,7 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
break;
case JOF_UINT24:
JS_ASSERT((op == JSOP_UINT24) || (op == JSOP_HEADER));
JS_ASSERT(op == JSOP_UINT24);
i = (jsint)GET_UINT24(pc);
goto print_int;