class NHIRALoad extends NHIRInstruction
Modifier and Type | Field and Description |
---|---|
int |
arrayRef
HIR id of the array reference.
|
int |
index
HIR id of the array index.
|
int |
opcode
Opcode of the JVM instruction.
|
block, hirMnemonic, id, lir, lType, sType
Constructor and Description |
---|
NHIRALoad(NBasicBlock block,
int id,
int opcode,
int arrayRef,
int index,
String sType,
String lType)
Construct an NHIRALoad 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 arrayRef
public int index
public NHIRALoad(NBasicBlock block, int id, int opcode, int arrayRef, int index, String sType, String lType)
block
- enclosing block.id
- identifier of the instruction.opcode
- JVM opcode for the instruction.arrayRef
- HIR id of the array reference.index
- HIR id of the the array index.sType
- type (short name) of the array.lType
- type (long name) of the array.public NLIRInstruction toLir()
NHIRInstruction
toLir
in class NHIRInstruction
public String toString()
NHIRInstruction
toString
in class NHIRInstruction