Class PassiveElement

java.lang.Object
com.dylibso.chicory.wasm.types.Element
com.dylibso.chicory.wasm.types.PassiveElement

public final class PassiveElement extends Element
A passive element. A passive element can be copied into a table using the table.init instruction.
  • Constructor Details

    • PassiveElement

      public PassiveElement(ValueType type, List<List<Instruction>> initializers)
      Construct a new instance.
      Parameters:
      type - the type of the element values (must not be null)
      initializers - the list of instruction lists which are used to initialize each element in the range (must not be null)