class NHIRGoto extends NHIRInstruction
Modifier and Type | Field and Description |
---|---|
NBasicBlock |
destination
The destination block to unconditionally jump to.
|
block, hirMnemonic, id, lir, lType, sType
Constructor and Description |
---|
NHIRGoto(NBasicBlock block,
int id,
NBasicBlock destination)
Construct an NHIRGoto 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 NBasicBlock destination
public NHIRGoto(NBasicBlock block, int id, NBasicBlock destination)
block
- enclosing block.id
- identifier of the instruction.destination
- the block to jump to.public NLIRInstruction toLir()
NHIRInstruction
toLir
in class NHIRInstruction
public String toString()
NHIRInstruction
toString
in class NHIRInstruction