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:
BlockGivenInstr,BuildLambdaInstr,BuildSplatInstr,CopyInstr,DefineMetaClassInstr,DefineModuleInstr,GetGlobalVariableInstr,GetInstr,InheritanceSearchConstInstr,LexicalSearchConstInstr,LoadLocalVarInstr,MultipleAsgnBase,ReifyClosureInstr,SearchConstInstr,SearchModuleForConstInstr,SetCapturedVarInstr,ToAryInstr,UndefMethodInstr
Result Instr with one operand.
-
Field Summary
FieldsFields inherited from class org.jruby.ir.instructions.ResultBaseInstr
resultFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS -
Constructor Summary
ConstructorsConstructorDescriptionOneOperandResultBaseInstr(Operation operation, Variable result, Operand operand1) -
Method Summary
Modifier and TypeMethodDescriptionOperand[]voidsetOperand(int i, Operand operand) voidsetOperand1(Operand operand1) Methods inherited from class org.jruby.ir.instructions.ResultBaseInstr
encode, getResult, updateResultMethods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Field Details
-
operand1
-
-
Constructor Details
-
OneOperandResultBaseInstr
-
-
Method Details
-
getOperands
- Specified by:
getOperandsin classInstr
-
getOperand1
-
setOperand1
-
setOperand
- Specified by:
setOperandin classInstr
-