Class WasmMemoryInstruction


  • class WasmMemoryInstruction
    extends WasmInstruction
    WasmInstruction for load and store to the linear memory.
    • Constructor Detail

      • WasmMemoryInstruction

        WasmMemoryInstruction​(MemoryOperator op,
                              ValueType type,
                              int offset,
                              int alignment,
                              int javaCodePos,
                              int lineNumber)
        Create an instance of a load/store to the linear memory instruction
        Parameters:
        op - the operation
        type - the type of the static field
        offset - the base offset which will be added to the offset value on the stack
        alignment - the alignment of the value on the linear memory (0: 8 Bit; 1: 16 Bit; 2: 32 Bit)
        javaCodePos - the code position/offset in the Java method
        lineNumber - the line number in the Java source code