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
resultFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS -
Constructor Summary
ConstructorsConstructorDescriptionOneOperandResultBaseInstr(Operation operation, Variable result, Operand operand1) -
Method Summary
Modifier and TypeMethodDescriptionvoidOperand[]voidsetOperand(int i, Operand operand) voidsetOperand1(Operand operand1) Methods inherited from class org.jruby.ir.instructions.ResultBaseInstr
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, simplifyInstr, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Constructor Details
-
OneOperandResultBaseInstr
-
-
Method Details
-
encode
- Overrides:
encodein classResultBaseInstr
-
getOperands
- Specified by:
getOperandsin classInstr
-
getOperand1
-
setOperand1
-
setOperand
- Specified by:
setOperandin classInstr
-