Class WasmTableInstruction

java.lang.Object
de.inetsoftware.jwebassembly.module.WasmInstruction
de.inetsoftware.jwebassembly.module.WasmTableInstruction

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

    • load

      private boolean load
    • idx

      private int idx
  • Constructor Details

    • 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
  • Method Details