mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Fix icode printing for call opcodes.
This commit is contained in:
parent
e383d1035d
commit
a2be2fadf4
@ -1221,11 +1221,13 @@ public class Interpreter extends LabelTable {
|
||||
case TokenStream.CLOSURE :
|
||||
case TokenStream.NEW :
|
||||
case TokenStream.CALL : {
|
||||
int count = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF);
|
||||
int count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF);
|
||||
out.println(
|
||||
TokenStream.tokenToName(iCode[pc] & 0xff) +
|
||||
" " + count);
|
||||
pc += 2;
|
||||
" " + count + " \"" +
|
||||
getString(theData.itsStringTable, iCode,
|
||||
pc + 1) + "\"");
|
||||
pc += 4;
|
||||
}
|
||||
break;
|
||||
case TokenStream.NUMBER :
|
||||
|
@ -1221,11 +1221,13 @@ public class Interpreter extends LabelTable {
|
||||
case TokenStream.CLOSURE :
|
||||
case TokenStream.NEW :
|
||||
case TokenStream.CALL : {
|
||||
int count = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF);
|
||||
int count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF);
|
||||
out.println(
|
||||
TokenStream.tokenToName(iCode[pc] & 0xff) +
|
||||
" " + count);
|
||||
pc += 2;
|
||||
" " + count + " \"" +
|
||||
getString(theData.itsStringTable, iCode,
|
||||
pc + 1) + "\"");
|
||||
pc += 4;
|
||||
}
|
||||
break;
|
||||
case TokenStream.NUMBER :
|
||||
|
Loading…
x
Reference in New Issue
Block a user