Class Instructions

java.lang.Object
io.github.eutro.wasm2j.core.util.Instructions

public class Instructions extends Object
Static utilities for Java instructions. This API should not be considered stable.
  • Constructor Details

    • Instructions

      public Instructions()
  • Method Details

    • copyList

      public static InsnList copyList(InsnList insns)
      Copy a list of instructions.
      Parameters:
      insns - The list of instructions to copy.
      Returns:
      The copied instructions.