Package jminusminus

Class NLIRLoadLocal


class NLIRLoadLocal extends NLIRInstruction
LIR instruction representing a formal parameter.
  • Constructor Details

    • NLIRLoadLocal

      public NLIRLoadLocal(NBasicBlock block, int id, int local, String sType, String lType)
      Constructs an NLIRLoadLocal object.
      Parameters:
      block - enclosing block.
      id - identifier of the instruction.
      local - local variable index.
      sType - short type name of the instruction.
      lType - long type name of the instruction.
  • Method Details

    • getLocal

      public int getLocal()
      Returns the local variable index for this instruction.
      Returns:
      the local variable index for this instruction.
    • toString

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