class NHIRInvoke extends NHIRInstruction
Modifier and Type | Field and Description |
---|---|
ArrayList<Integer> |
arguments
List of HIR ids of arguments for the method.
|
String |
name
Name of the method being invoked.
|
int |
opcode
Opcode of the JVM instruction.
|
String |
target
Target for the method.
|
block, hirMnemonic, id, lir, lType, sType
Constructor and Description |
---|
NHIRInvoke(NBasicBlock block,
int id,
int opcode,
String target,
String name,
ArrayList<Integer> arguments,
String sType,
String lType)
Construct an NHIRInvoke 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 String target
public String name
public NHIRInvoke(NBasicBlock block, int id, int opcode, String target, String name, ArrayList<Integer> arguments, String sType, String lType)
block
- enclosing block.id
- identifier of the instruction.opcode
- opcode of the JVM instruction.target
- target of the method.name
- name of the method.arguments
- list of HIR ids of arguments for the method.sType
- return type (short name) of the method.lType
- return type (long name) of the method.public NLIRInstruction toLir()
NHIRInstruction
toLir
in class NHIRInstruction
public String toString()
NHIRInstruction
toString
in class NHIRInstruction