Package jminusminus
Class NHIRLocal
java.lang.Object
jminusminus.NHIRInstruction
jminusminus.NHIRLocal
HIR instruction representing a local (not formal) variable.
-
Field Summary
Fields inherited from class jminusminus.NHIRInstruction
block, hirMnemonic, id, lir, lType, sType
-
Constructor Summary
ConstructorDescriptionNHIRLocal
(NBasicBlock block, int id, int local, String sType, String lType) Constructs an NHIRLocal object. -
Method Summary
Methods inherited from class jminusminus.NHIRInstruction
equals, id, toLir
-
Constructor Details
-
NHIRLocal
Constructs an NHIRLocal 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
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNHIRInstruction
- Returns:
- a string representation of this instruction.
-