(final int opcode)
| 860 | } |
| 861 | |
| 862 | @Override |
| 863 | public void visitInsn(final int opcode) { |
| 864 | lastBytecodeOffset = code.length; |
| 865 | // Add the instruction to the bytecode of the method. |
| 866 | code.putByte(opcode); |
| 867 | // If needed, update the maximum stack size and number of locals, and stack map frames. |
| 868 | if (currentBasicBlock != null) { |
| 869 | if (compute == COMPUTE_ALL_FRAMES || compute == COMPUTE_INSERTED_FRAMES) { |
| 870 | currentBasicBlock.frame.execute(opcode, 0, null, null); |
| 871 | } else { |
| 872 | int size = relativeStackSize + STACK_SIZE_DELTA[opcode]; |
| 873 | if (size > maxRelativeStackSize) { |
| 874 | maxRelativeStackSize = size; |
| 875 | } |
| 876 | relativeStackSize = size; |
| 877 | } |
| 878 | if ((opcode >= Opcodes.IRETURN && opcode <= Opcodes.RETURN) || opcode == Opcodes.ATHROW) { |
| 879 | endCurrentBasicBlockWithNoSuccessor(); |
| 880 | } |
| 881 | } |
| 882 | } |
| 883 | |
| 884 | @Override |
| 885 | public void visitIntInsn(final int opcode, final int operand) { |
no test coverage detected