Package iota
Class NLirCall
java.lang.Object
iota.NLirInstruction
iota.NLirCall
Representation of a method call instruction.
-
Field Summary
FieldsFields inherited from class iota.NLirInstruction
block, id, lir2Marvin, mnemonic, reads, write
-
Constructor Summary
ConstructorsConstructorDescriptionNLirCall
(NBasicBlock block, int id, String mnemonic, String name, String descriptor, NPhysicalRegister result) Constructs an NLirCall object. -
Method Summary
Methods inherited from class iota.NLirInstruction
id
-
Field Details
-
name
Method name. -
descriptor
Method descriptor.
-
-
Constructor Details
-
NLirCall
public NLirCall(NBasicBlock block, int id, String mnemonic, String name, String descriptor, NPhysicalRegister result) Constructs an NLirCall object.- Parameters:
block
- enclosing basic block.id
- instruction id.mnemonic
- instruction mnemonic.name
- method name.descriptor
- method descriptor.result
- physical register that will store the return value (if any).
-
-
Method Details
-
toMarvin
public void toMarvin()Converts this instruction to the corresponding Marvin instruction.- Overrides:
toMarvin
in classNLirInstruction
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNLirInstruction
- Returns:
- a string representation of this instruction.
-