Package jminusminus
Class NLIRGetField
java.lang.Object
jminusminus.NLIRInstruction
jminusminus.NLIRGetField
LIR instruction representing JVM (get) field instructions.
- 
Field SummaryFields inherited from class jminusminus.NLIRInstructionblock, id, lirMnemonic, reads, write
- 
Constructor SummaryConstructorsConstructorDescriptionNLIRGetField(NBasicBlock block, int id, int opcode, String target, String name, String sType, String lType) Constructs an NLIRGetField 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- 
NLIRGetFieldpublic NLIRGetField(NBasicBlock block, int id, int opcode, String target, String name, String sType, String lType) Constructs an NLIRGetField object.- Parameters:
- block- enclosing block.
- id- identifier of the instruction.
- opcode- JVM opcode for the return instruction.
- target- target for the field.
- name- name of the field.
- sType- type (short name) of the field.
- lType- type (long name) of the field.
 
 
- 
- 
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.
 
 
-