- Export JSSLOT_ITER_* from jsiter.cpp to jsiter.h, for jstracer.cpp to use.
- Fix OBJ_GET_SLOT to be STOBJ_GET_SLOT in jsiter.cpp, no thread safety here (bug on file). - Move JSNativeEnumerator from jsobj.cpp to jsobj.h for jstracer.cpp as well. - Rename JOF_2BYTE JOF_UINT8 for consistency, and actually decompile it. - Trace JSOP_FORVAR (can't do anything in JSOP_ITER, it comes before the loop). - Shortened some guardMyLongSummerVacationWithinBounds names ;-). - Removed/refactored to avoid dslots_ins obligation on all callers.
This commit is contained in:
@@ -410,6 +410,10 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
i = (jsint)GET_UINT24(pc);
|
||||
goto print_int;
|
||||
|
||||
case JOF_UINT8:
|
||||
i = pc[1];
|
||||
goto print_int;
|
||||
|
||||
case JOF_INT8:
|
||||
i = GET_INT8(pc);
|
||||
goto print_int;
|
||||
|
||||
Reference in New Issue
Block a user