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