Package jminusminus
Class NLIRALoad
java.lang.Object
jminusminus.NLIRInstruction
jminusminus.NLIRALoad
LIR instruction representing JVM array load instructions.
- 
Field SummaryFields inherited from class jminusminus.NLIRInstructionblock, id, lirMnemonic, reads, write
- 
Constructor SummaryConstructorsConstructorDescriptionNLIRALoad(NBasicBlock block, int id, int opcode, NLIRInstruction arrayRef, NLIRInstruction index, String sType, String lType) Constructs an NLIRALoad object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidtoSpim(PrintWriter out) Translates this LIR instruction into SPIM and writes it out to the specified output stream.toString()Returns a string representation of this instruction.Methods inherited from class jminusminus.NLIRInstructionallocatePhysicalRegisters
- 
Constructor Details- 
NLIRALoadpublic NLIRALoad(NBasicBlock block, int id, int opcode, NLIRInstruction arrayRef, NLIRInstruction index, String sType, String lType) Constructs an NLIRALoad object.- Parameters:
- block- enclosing block.
- id- identifier of the instruction.
- opcode- JVM opcode for the instruction.
- arrayRef- LIR of the array reference.
- index- LIR of the array index.
- sType- type (short name) of the array.
- lType- type (long name) of the array.
 
 
- 
- 
Method Details- 
toSpimTranslates this LIR instruction into SPIM and writes it out to the specified output stream.- Overrides:
- toSpimin class- NLIRInstruction
- Parameters:
- out- output stream for SPIM code.
 
- 
toStringReturns a string representation of this instruction.- Overrides:
- toStringin class- NLIRInstruction
- Returns:
- a string representation of this instruction.
 
 
-