Package org.jruby.ir.instructions
Class TwoOperandInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.TwoOperandInstr
- Direct Known Subclasses:
AliasInstr
,GVarAliasInstr
,ModuleVersionGuardInstr
,PutGlobalVarInstr
,PutInstr
,StoreLocalVarInstr
Instr for two operands.
-
Field Summary
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
Constructors -
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.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, encode, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyInstr, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Constructor Details
-
TwoOperandInstr
-
-
Method Details
-
getOperands
- Specified by:
getOperands
in classInstr
-
getOperand1
-
getOperand2
-
setOperand1
-
setOperand2
-
setOperand
- Specified by:
setOperand
in classInstr
-