Uses of Class
org.ek9lang.compiler.ir.instructions.MemoryInstr
Packages that use MemoryInstr
Package
Description
JVM Bytecode Generation - Transforms EK9 IR into JVM bytecode.
IR Instruction Classes - The instruction set for EK9 intermediate representation.
-
Uses of MemoryInstr in org.ek9lang.compiler.backend.jvm
Classes in org.ek9lang.compiler.backend.jvm that implement interfaces with type arguments of type MemoryInstrModifier and TypeClassDescription(package private) final classSpecialized ASM generator for MemoryInstr processing.Methods in org.ek9lang.compiler.backend.jvm with parameters of type MemoryInstrModifier and TypeMethodDescriptionvoidMemoryInstrAsmGenerator.accept(MemoryInstr memoryInstr) Generate JVM bytecode for a memory operation instruction.voidOutputVisitor.visit(MemoryInstr memoryInstr) Typed visit method for MemoryInstr - delegates to specialized generator. -
Uses of MemoryInstr in org.ek9lang.compiler.ir.instructions
Methods in org.ek9lang.compiler.ir.instructions that return MemoryInstrModifier and TypeMethodDescriptionMemoryInstr.addOperand(String operand) MemoryInstr.addOperands(String... operands) static MemoryInstrMemoryInstr.functionInstance(String result, String functionType, DebugInfo debugInfo) Create FUNCTION_INSTANCE instruction with debug info: FUNCTION_INSTANCE result = FunctionType.static MemoryInstrCreate IS_NULL instruction with debug info: IS_NULL result = operand.static MemoryInstrCreate LOAD instruction: LOAD dest = source_location.static MemoryInstrCreate LOAD instruction with debug info: LOAD dest = source_location.static MemoryInstrMemoryInstr.loadConstant(String result, String constantName, String moduleName, String typeName, DebugInfo debugInfo) Create LOAD_CONSTANT instruction: load from module constant storage.static MemoryInstrMemoryInstr.loadField(String destination, String objectVar, String fieldName, String ownerType, String fieldType, DebugInfo debugInfo) Create LOAD_FIELD instruction: load field value from object.static MemoryInstrMemoryInstr.loadStaticField(String result, String fieldName, String ownerType, String fieldType, DebugInfo debugInfo) Create LOAD_STATIC_FIELD instruction: load static field from class.static MemoryInstrCreate REFERENCE instruction: REFERENCE variable_name, type_info.static MemoryInstrCreate REFERENCE instruction with debug info: REFERENCE variable_name, type_info.static MemoryInstrCreate RELEASE instruction: RELEASE object, decrement ARC.static MemoryInstrCreate RELEASE instruction with debug info: RELEASE object, decrement ARC.static MemoryInstrCreate RETAIN instruction with debug info: RETAIN object, i.e.static MemoryInstrCreate STORE instruction with debug info: STORE dest_location = source.static MemoryInstrMemoryInstr.storeField(String objectVar, String fieldName, String ownerType, String fieldType, String value, DebugInfo debugInfo) Create STORE_FIELD instruction: store value into object field.static MemoryInstrMemoryInstr.storeStaticField(String fieldName, String ownerType, String fieldType, String value, DebugInfo debugInfo) Create STORE_STATIC_FIELD instruction: store value into static field.