Package iota

Class NLirCall


class NLirCall extends NLirInstruction
Representation of a method call instruction.
  • Field Details

    • name

      public String name
      Method name.
    • descriptor

      public String 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 class NLirInstruction
    • toString

      public String toString()
      Returns a string representation of this instruction.
      Overrides:
      toString in class NLirInstruction
      Returns:
      a string representation of this instruction.