Package jminusminus
Class NHIRInvoke
java.lang.Object
jminusminus.NHIRInstruction
jminusminus.NHIRInvoke
HIR instruction representing method invocation instructions in JVM.
- 
Field SummaryFields inherited from class jminusminus.NHIRInstructionblock, hirMnemonic, id, lir, lType, sType
- 
Constructor SummaryConstructorsConstructorDescriptionNHIRInvoke(NBasicBlock block, int id, int opcode, String target, String name, ArrayList<Integer> arguments, String sType, String lType) Constructs an NHIRInvoke object.
- 
Method SummaryMethods inherited from class jminusminus.NHIRInstructionequals, id
- 
Constructor Details- 
NHIRInvokepublic NHIRInvoke(NBasicBlock block, int id, int opcode, String target, String name, ArrayList<Integer> arguments, String sType, String lType) Constructs an NHIRInvoke object.- Parameters:
- 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.
 
 
- 
- 
Method Details- 
toLirConverts and returns a low-level representation (LIR) of this HIR instruction. Also adds the returned LIR instruction to the list of LIR instructions for the block containing this instruction, along with any other intermediate LIR instructions needed.- Overrides:
- toLirin class- NHIRInstruction
- Returns:
- the LIR instruction corresponding to this HIR instruction.
 
- 
toStringReturns a string representation of this instruction.- Overrides:
- toStringin class- NHIRInstruction
- Returns:
- a string representation of this instruction.
 
 
-