diff --git a/jit/blockMap.ts b/jit/blockMap.ts index 85bdc304..fe485a4d 100644 --- a/jit/blockMap.ts +++ b/jit/blockMap.ts @@ -296,6 +296,9 @@ module J2ME.Bytecode { case Bytecodes.INVOKESTATIC: case Bytecodes.INVOKEINTERFACE: this.invokeCount ++; + if (this.canTrapAt(opcode, bci)) { + this.canTrap.set(bci); + } break; default: { if (this.canTrapAt(opcode, bci)) {