Package jminusminus
Class NHIRALoad
java.lang.Object
jminusminus.NHIRInstruction
jminusminus.NHIRALoad
HIR instruction representing JVM array load instructions.
- 
Field SummaryFields inherited from class jminusminus.NHIRInstructionblock, hirMnemonic, id, lir, lType, sType
- 
Constructor SummaryConstructorsConstructorDescriptionNHIRALoad(NBasicBlock block, int id, int opcode, int arrayRef, int index, String sType, String lType) Constructs an NHIRALoad object.
- 
Method SummaryMethods inherited from class jminusminus.NHIRInstructionequals, id
- 
Constructor Details- 
NHIRALoadpublic NHIRALoad(NBasicBlock block, int id, int opcode, int arrayRef, int index, String sType, String lType) Constructs an NHIRALoad object.- Parameters:
- block- enclosing block.
- id- identifier of the instruction.
- opcode- JVM opcode for the instruction.
- arrayRef- HIR id of the array reference.
- index- HIR id of the the array index.
- sType- type (short name) of the array.
- lType- type (long name) of the array.
 
 
- 
- 
Method Details- 
toLirConverts and returns a low-level representation (LIR) of this HIR instruction. Also adds the returned LIR instruction to the list of LIR instructions for the block containing this instruction, along with any other intermediate LIR instructions needed.- Overrides:
- toLirin class- NHIRInstruction
- Returns:
- the LIR instruction corresponding to this HIR instruction.
 
- 
toStringReturns a string representation of this instruction.- Overrides:
- toStringin class- NHIRInstruction
- Returns:
- a string representation of this instruction.
 
 
-