Class WasmTableInstruction


  • class WasmTableInstruction
    extends WasmInstruction
    WasmInstruction for load and store a element in a table.
    • Field Detail

      • load

        private boolean load
      • idx

        private int idx
    • Constructor Detail

      • WasmTableInstruction

        WasmTableInstruction​(boolean load,
                             @Nonnegative
                             int idx,
                             int javaCodePos,
                             int lineNumber)
        Create an instance of a load/store instruction
        Parameters:
        load - true: if "get" else "set"
        idx - the index of the table
        javaCodePos - the code position/offset in the Java method
        lineNumber - the line number in the Java source code