Package org.jruby.ir.instructions
Class ResultBaseInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.ResultBaseInstr
- All Implemented Interfaces:
ResultInstr
- Direct Known Subclasses:
NoOperandResultBaseInstr
,NOperandResultBaseInstr
,OneOperandResultBaseInstr
,TwoOperandResultBaseInstr
For most instrs that have a result this is their base class. Some instrs, most notably
callinstr is more complicated because we would rather use inheritance to share call-related
logic.
-
Field Summary
FieldsFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperands, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setOperand, simplifyInstr, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Field Details
-
result
-
-
Constructor Details
-
ResultBaseInstr
-
-
Method Details
-
encode
-
getResult
- Specified by:
getResult
in interfaceResultInstr
-
updateResult
- Specified by:
updateResult
in interfaceResultInstr
-