Package org.jruby.ir.instructions
Class OneOperandResultBaseInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.ResultBaseInstr
org.jruby.ir.instructions.OneOperandResultBaseInstr
- All Implemented Interfaces:
ResultInstr
- Direct Known Subclasses:
AsFixnumInstr
,BlockGivenCallInstr
,BlockGivenInstr
,BuildLambdaInstr
,BuildSplatInstr
,CopyInstr
,DefineMetaClassInstr
,DefineModuleInstr
,GetGlobalVariableInstr
,GetInstr
,InheritanceSearchConstInstr
,LexicalSearchConstInstr
,LoadLocalVarInstr
,MultipleAsgnBase
,ProcessModuleBodyInstr
,ReceiveArgBase
,ReifyClosureInstr
,SearchConstInstr
,SearchModuleForConstInstr
,SetCapturedVarInstr
,ToAryInstr
,UndefMethodInstr
Result Instr with one operand.
-
Field Summary
Fields inherited from class org.jruby.ir.instructions.ResultBaseInstr
result
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
ConstructorsConstructorDescriptionOneOperandResultBaseInstr
(Operation operation, Variable result, Operand operand1) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Operand[]
void
setOperand
(int i, Operand operand) void
setOperand1
(Operand operand1) Methods inherited from class org.jruby.ir.instructions.ResultBaseInstr
getResult, updateResult
Methods 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
-
OneOperandResultBaseInstr
-
-
Method Details
-
encode
- Overrides:
encode
in classResultBaseInstr
-
getOperands
- Specified by:
getOperands
in classInstr
-
getOperand1
-
setOperand1
-
setOperand
- Specified by:
setOperand
in classInstr
-