Package org.jruby.ir.instructions
Class TwoOperandResultBaseInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.ResultBaseInstr
org.jruby.ir.instructions.TwoOperandResultBaseInstr
- All Implemented Interfaces:
ResultInstr
- Direct Known Subclasses:
BuildCompoundArrayInstr
,BuildRangeInstr
,DefineClassInstr
,IntegerMathInstr
,RescueEQQInstr
,YieldInstr
Result Instr with two operands.
-
Field Summary
Fields inherited from class org.jruby.ir.instructions.ResultBaseInstr
result
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
ConstructorsConstructorDescriptionTwoOperandResultBaseInstr
(Operation operation, Variable result, Operand operand1, Operand operand2) -
Method Summary
Modifier and TypeMethodDescriptionOperand[]
void
setOperand
(int i, Operand operand) void
setOperand1
(Operand operand1) void
setOperand2
(Operand operand2) Methods inherited from class org.jruby.ir.instructions.ResultBaseInstr
encode, getResult, updateResult
Methods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyInstr, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Constructor Details
-
TwoOperandResultBaseInstr
-
-
Method Details
-
getOperands
- Specified by:
getOperands
in classInstr
-
getOperand1
-
setOperand1
-
getOperand2
-
setOperand2
-
setOperand
- Specified by:
setOperand
in classInstr
-