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
resultFields 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[]voidsetOperand(int i, Operand operand) voidsetOperand1(Operand operand1) voidsetOperand2(Operand operand2) Methods inherited from class org.jruby.ir.instructions.ResultBaseInstr
encode, getResult, updateResultMethods 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:
getOperandsin classInstr
-
getOperand1
-
setOperand1
-
getOperand2
-
setOperand2
-
setOperand
- Specified by:
setOperandin classInstr
-