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, simplifyAndGetResult, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Field Details
-
result
-
-
Constructor Details
-
ResultBaseInstr
-
-
Method Details
-
encode
-
getResult
- Specified by:
getResultin interfaceResultInstr
-
updateResult
- Specified by:
updateResultin interfaceResultInstr
-