Backed out changeset 65836af09dac - compilation errors
This commit is contained in:
@@ -297,7 +297,7 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
case JOF_JUMP:
|
||||
case JOF_JUMPX:
|
||||
off = GetJumpOffset(pc, pc);
|
||||
fprintf(fp, " %u (%d)", loc + (intN) off, (intN) off);
|
||||
fprintf(fp, " %u (%d)", loc + off, off);
|
||||
break;
|
||||
|
||||
case JOF_ATOM:
|
||||
@@ -344,10 +344,10 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
pc2 += JUMP_OFFSET_LEN;
|
||||
high = GET_JUMP_OFFSET(pc2);
|
||||
pc2 += JUMP_OFFSET_LEN;
|
||||
fprintf(fp, " defaultOffset %d low %d high %d", (intN) off, low, high);
|
||||
fprintf(fp, " defaultOffset %d low %d high %d", off, low, high);
|
||||
for (i = low; i <= high; i++) {
|
||||
off = GetJumpOffset(pc, pc2);
|
||||
fprintf(fp, "\n\t%d: %d", i, (intN) off);
|
||||
fprintf(fp, "\n\t%d: %d", i, off);
|
||||
pc2 += jmplen;
|
||||
}
|
||||
len = 1 + pc2 - pc;
|
||||
@@ -367,7 +367,7 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
pc2 += jmplen;
|
||||
npairs = GET_UINT16(pc2);
|
||||
pc2 += UINT16_LEN;
|
||||
fprintf(fp, " offset %d npairs %u", (intN) off, (uintN) npairs);
|
||||
fprintf(fp, " offset %d npairs %u", off, (uintN) npairs);
|
||||
while (npairs) {
|
||||
JS_GET_SCRIPT_ATOM(script, GET_INDEX(pc2), atom);
|
||||
pc2 += INDEX_LEN;
|
||||
@@ -377,7 +377,7 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc,
|
||||
bytes = ToDisassemblySource(cx, ATOM_KEY(atom));
|
||||
if (!bytes)
|
||||
return 0;
|
||||
fprintf(fp, "\n\t%s: %d", bytes, (intN) off);
|
||||
fprintf(fp, "\n\t%s: %d", bytes, off);
|
||||
npairs--;
|
||||
}
|
||||
len = 1 + pc2 - pc;
|
||||
|
||||
Reference in New Issue
Block a user