Package iota
Class NHirCall
java.lang.Object
iota.NHirInstruction
iota.NHirCall
Representation of a method call instruction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionArguments to the method.Method descriptor.boolean
Whether this method is an input (read()I) or output (write(I)V) method.Method name. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class iota.NHirInstruction
id
-
Field Details
-
name
Method name. -
descriptor
Method descriptor. -
args
Arguments to the method. -
isIOMethod
public boolean isIOMethodWhether this method is an input (read()I) or output (write(I)V) method.
-
-
Constructor Details
-
NHirCall
public NHirCall(NBasicBlock block, int id, String name, String descriptor, ArrayList<Integer> args, String type, boolean isIOMethod) Constructs an NHirCall object.- Parameters:
block
- enclosing basic block.id
- instruction id.name
- method name.descriptor
- method descriptor.args
- method arguments.type
- return type.isIOMethod
- whether this method is an input (read()I) or output (write(I)V) method.
-
-
Method Details
-
toLir
Converts and returns a low-level representation (LIR) of this instruction.- Specified by:
toLir
in classNHirInstruction
- Returns:
- the LIR instruction corresponding to this instruction.
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNHirInstruction
- Returns:
- a string representation of this instruction.
-