Top Description Fields Constructors Methods
org.jruby.ir.instructions

public abstract Class TwoOperandResultBaseInstr

extends ResultBaseInstr
Class Inheritance
Known Direct Subclasses
org.jruby.ir.instructions.YieldInstr, org.jruby.ir.instructions.BuildCompoundArrayInstr, org.jruby.ir.instructions.BuildRangeInstr, org.jruby.ir.instructions.DefineClassInstr, org.jruby.ir.instructions.IntegerMathInstr, org.jruby.ir.instructions.RescueEQQInstr
Imports
org.jruby.ir.Operation, org.jruby.ir.operands.Operand, .Variable

Result Instr with two operands.

Field Summary

Modifier and TypeField and Description
private transient Operand
private transient Operand
Inherited from org.jruby.ir.instructions.ResultBaseInstr:
result

Constructor Summary

AccessConstructor and Description
public
TwoOperandResultBaseInstr(Operation operation, Variable result, Operand operand1, Operand operand2)

Method Summary

Modifier and TypeMethod and Description
public Operand
public Operand
public Operand[]
public void
public void
setOperand1(Operand operand1)

public void
setOperand2(Operand operand2)

Inherited from org.jruby.ir.instructions.ResultBaseInstr:
encodegetResultupdateResult

Field Detail

operand1back to summary
private transient Operand operand1
operand2back to summary
private transient Operand operand2

Constructor Detail

TwoOperandResultBaseInstrback to summary
public TwoOperandResultBaseInstr(Operation operation, Variable result, Operand operand1, Operand operand2)

Method Detail

getOperand1back to summary
public Operand getOperand1()
getOperand2back to summary
public Operand getOperand2()
getOperandsback to summary
public Operand[] getOperands()

Implements abstract org.jruby.ir.instructions.Instr.getOperands.

setOperandback to summary
public void setOperand(int i, Operand operand)

Implements abstract org.jruby.ir.instructions.Instr.setOperand.

setOperand1back to summary
public void setOperand1(Operand operand1)
setOperand2back to summary
public void setOperand2(Operand operand2)