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[]voidsetOperand(int i, Operand operand) voidsetOperand1(Operand operand1) voidsetOperand2(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:
getOperandsin classInstr
-
getOperand1
-
getOperand2
-
setOperand1
-
setOperand2
-
setOperand
- Specified by:
setOperandin classInstr
-