class NHIRIntConstant extends NHIRInstruction
| Modifier and Type | Field and Description |
|---|---|
int |
value
The constant int value.
|
block, hirMnemonic, id, lir, lType, sType| Constructor and Description |
|---|
NHIRIntConstant(NBasicBlock block,
int id,
int value)
Construct an NHIRIntConstant 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 NHIRIntConstant(NBasicBlock block, int id, int value)
block - enclosing block.id - identifier of the instruction.value - the constant int value.public NLIRInstruction toLir()
NHIRInstructiontoLir in class NHIRInstructionpublic String toString()
NHIRInstructiontoString in class NHIRInstruction