Package org.jruby.ir.operands
Class TemporaryCurrentModuleVariable
java.lang.Object
org.jruby.ir.operands.Operand
org.jruby.ir.operands.Variable
org.jruby.ir.operands.TemporaryVariable
org.jruby.ir.operands.TemporaryLocalVariable
org.jruby.ir.operands.TemporaryCurrentModuleVariable
-
Field Summary
FieldsFields inherited from class org.jruby.ir.operands.TemporaryLocalVariable
offset, PREFIXFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(SimpleCloneInfo ii) getId()getType()Differentiates between different types of TemporaryVariables (useful for switch and persistence).ModuleVariableFor(int index) Methods inherited from class org.jruby.ir.operands.TemporaryLocalVariable
encode, getOffset, getPrefix, retrieve, visitMethods inherited from class org.jruby.ir.operands.TemporaryVariable
equals, getOperandType, hashCode, toStringMethods inherited from class org.jruby.ir.operands.Variable
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelfMethods inherited from class org.jruby.ir.operands.Operand
hasKnownValue, isFalseyImmediate, isTruthyImmediate
-
Field Details
-
CURRENT_MODULE_VARIABLE
-
-
Constructor Details
-
TemporaryCurrentModuleVariable
public TemporaryCurrentModuleVariable(int offset)
-
-
Method Details
-
ModuleVariableFor
-
getType
Description copied from class:TemporaryVariableDifferentiates between different types of TemporaryVariables (useful for switch and persistence).- Overrides:
getTypein classTemporaryLocalVariable
-
getId
- Overrides:
getIdin classTemporaryLocalVariable
-
clone
- Overrides:
clonein classTemporaryLocalVariable
-
decode
-