Class TwoOperandInstr

java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.TwoOperandInstr
Direct Known Subclasses:
AliasInstr, GVarAliasInstr, ModuleVersionGuardInstr, PutGlobalVarInstr, PutInstr, StoreLocalVarInstr

public abstract class TwoOperandInstr extends Instr
Instr for two operands.
  • Constructor Details

  • Method Details

    • getOperands

      public Operand[] getOperands()
      Specified by:
      getOperands in class Instr
    • getOperand1

      public Operand getOperand1()
    • getOperand2

      public Operand getOperand2()
    • setOperand1

      public void setOperand1(Operand operand1)
    • setOperand2

      public void setOperand2(Operand operand2)
    • setOperand

      public void setOperand(int i, Operand operand)
      Specified by:
      setOperand in class Instr