Instrument loop headers with jsvals above fp->vars and below fp->spbase.
This commit is contained in:
@@ -287,10 +287,6 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
i = (jsint)GET_UINT16(pc);
|
||||
goto print_int;
|
||||
|
||||
case JOF_2BYTE:
|
||||
fprintf(fp, " %u", (uintN)pc[1]);
|
||||
break;
|
||||
|
||||
case JOF_TABLESWITCH:
|
||||
case JOF_TABLESWITCHX:
|
||||
{
|
||||
@@ -380,6 +376,11 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
i = GET_INT8(pc);
|
||||
goto print_int;
|
||||
|
||||
case JOF_UINT8:
|
||||
JS_ASSERT(op == JSOP_HEADER);
|
||||
i = GET_UINT8(pc);
|
||||
goto print_int;
|
||||
|
||||
case JOF_INT32:
|
||||
JS_ASSERT(op == JSOP_INT32);
|
||||
i = GET_INT32(pc);
|
||||
|
||||
Reference in New Issue
Block a user