class NLIRPutField extends NLIRInstruction
| Modifier and Type | Field and Description |
|---|---|
String |
name
Name of the field being accessed.
|
int |
opcode
Opcode of the JVM instruction.
|
String |
target
Target for the field.
|
block, id, lirMnemonic, reads, write| Constructor and Description |
|---|
NLIRPutField(NBasicBlock block,
int id,
int opcode,
String target,
String name,
String sType,
String lType,
NLIRInstruction value)
Construct an NLIRPutField instruction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
toSpim(PrintWriter out)
Translate this LIR instruction into SPIM and write it out to the
specified output stream.
|
String |
toString()
Return a string representation of this instruction.
|
allocatePhysicalRegisterspublic int opcode
public String target
public String name
public NLIRPutField(NBasicBlock block, int id, int opcode, String target, String name, String sType, String lType, NLIRInstruction value)
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.value - LIR of the value of the field.public void toSpim(PrintWriter out)
NLIRInstructiontoSpim in class NLIRInstructionout - output stream for SPIM code.public String toString()
NLIRInstructiontoString in class NLIRInstruction