Class MemoryInstrAsmGenerator

java.lang.Object
org.ek9lang.compiler.backend.jvm.AbstractAsmGenerator
org.ek9lang.compiler.backend.jvm.MemoryInstrAsmGenerator
All Implemented Interfaces:
Consumer<MemoryInstr>

public final class MemoryInstrAsmGenerator extends AbstractAsmGenerator implements Consumer<MemoryInstr>
Specialized ASM generator for MemoryInstr processing. Handles LOAD, STORE, REFERENCE, RETAIN, RELEASE operations using the actual MemoryInstr methods (no string parsing).
  • Constructor Details

    • MemoryInstrAsmGenerator

      public MemoryInstrAsmGenerator(ConstructTargetTuple constructTargetTuple, OutputVisitor outputVisitor, org.objectweb.asm.ClassWriter classWriter)
  • Method Details

    • accept

      public void accept(MemoryInstr memoryInstr)
      Generate JVM bytecode for a memory operation instruction. Uses MemoryInstr opcode to determine the specific operation.
      Specified by:
      accept in interface Consumer<MemoryInstr>