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, id
public 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()
NHIRInstruction
toLir
in class NHIRInstruction
public String toString()
NHIRInstruction
toString
in class NHIRInstruction