class NHIRReturn extends NHIRInstruction
| Modifier and Type | Field and Description |
|---|---|
int |
opcode
JVM opcode for the return instruction.
|
int |
value
Return value HIR id.
|
block, hirMnemonic, id, lir, lType, sType| Constructor and Description |
|---|
NHIRReturn(NBasicBlock block,
int id,
int opcode,
int value)
Construct an NHIRReturn instruction.
|
| Modifier and Type | Method and Description |
|---|---|
NLIRInstruction |
toLir()
Convert and return a low-level representation (LIR) of this HIR
instruction.
|
String |
toString()
Return a string representation of this instruction.
|
equals, idpublic int opcode
public int value
public NHIRReturn(NBasicBlock block, int id, int opcode, int value)
block - enclosing block.id - identifier of the instruction.opcode - JVM opcode for the return instruction.value - return value HIR id.public NLIRInstruction toLir()
NHIRInstructiontoLir in class NHIRInstructionpublic String toString()
NHIRInstructiontoString in class NHIRInstruction