Commit e522ef9
Extract 84 opcode handlers to InlineOpcodeHandler, add 76 missing disassembler mappings
Reduce BytecodeInterpreter.execute() from 12007 to 7137 bytes (under 7500
JVM JIT limit) by extracting 84 inline case blocks into individual static
methods in new InlineOpcodeHandler.java.
Convert all switch statements to arrow-style (case X -> {}) for clarity
and to eliminate break statements.
Add comments explaining the nested try/catch/finally structure
(outer try for cleanup, inner try for Perl eval/die semantics).
Also add 76 missing opcode mappings to InterpretedCode disassembler and
remove dead executeArithmetic() method (326 lines).
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <noreply@cognition.ai>1 parent dbaa25a commit e522ef9
3 files changed
Lines changed: 2301 additions & 1803 deletions
File tree
- src/main/java/org/perlonjava/backend/bytecode
0 commit comments