Package iota

Class NHirLoadParam


class NHirLoadParam extends NHirInstruction
Representation of an instruction for loading a formal parameter value.
  • Field Details

    • index

      public int index
      Formal parameter index.
  • Constructor Details

    • NHirLoadParam

      public NHirLoadParam(NBasicBlock block, int id, int index)
      Constructs an NHirLoadParam object.
      Parameters:
      block - enclosing basic block.
      id - instruction id.
      index - formal parameter index.
  • Method Details

    • toLir

      public NLirInstruction toLir()
      Converts and returns a low-level representation (LIR) of this instruction.
      Specified by:
      toLir in class NHirInstruction
      Returns:
      the LIR instruction corresponding to this instruction.
    • toString

      public String toString()
      Returns a string representation of this instruction.
      Overrides:
      toString in class NHirInstruction
      Returns:
      a string representation of this instruction.