1.1 --- a/jitcraft/Opcodes.cpp Sat Jul 14 21:01:52 2012 -0700
1.2 +++ b/jitcraft/Opcodes.cpp Sun Jul 15 14:40:11 2012 -0700
1.3 @@ -76,7 +76,7 @@
1.4 // any other position indicates a failure to mark that position as a
1.5 // safepoint, which is a bug.
1.6 Opcode op = Opcode(*(start() + pcOffset));
1.7 - assert(op == OP_CALLGLOBAL || op == OP_NEWARRAY_LIFO || op == OP_VARREF_LIFO ||
1.8 + assert(op == OP_CALL || op == OP_NEWARRAY_LIFO || op == OP_VARREF_LIFO ||
1.9 op == OP_ARGREF_LIFO || op == OP_SLOTREF_LIFO || op == OP_ARRAYREF_LIFO ||
1.10 op == OP_ARRAYCOPY);
1.11
1.12 @@ -184,6 +184,8 @@
1.13 case OP_ROLL3:
1.14 case OP_PICK2:
1.15 case OP_PICK3:
1.16 + case OP_CALL:
1.17 + case OP_MODULE:
1.18 break;
1.19
1.20 case OP_STOP:
1.21 @@ -229,10 +231,10 @@
1.22 case OP_SETARG:
1.23 case OP_SAVELIFO:
1.24 case OP_UNWINDLIFO:
1.25 - case OP_CALLGLOBAL:
1.26 case OP_VARREF_LIFO:
1.27 case OP_ARGREF_LIFO:
1.28 case OP_OBJECT:
1.29 + case OP_GETMODULE_FN:
1.30 fprintf(fp, "%u", READ_UINT32(pc));
1.31 break;
1.32