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