Package org.jruby.ir.operands
Class TemporaryBooleanVariable
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.TemporaryBooleanVariable
- All Implemented Interfaces:
Comparable
Represents a temporary variable for an unboxed Boolean operand.
-
Field Summary
FieldsFields inherited from class org.jruby.ir.operands.TemporaryLocalVariable
offsetFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(SimpleCloneInfo ii) getType()Differentiates between different types of TemporaryVariables (useful for switch and persistence).voidMethods inherited from class org.jruby.ir.operands.TemporaryLocalVariable
decode, encode, getId, getOffset, retrieveMethods inherited from class org.jruby.ir.operands.TemporaryVariable
compareTo, 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
-
PREFIX
- See Also:
-
-
Constructor Details
-
TemporaryBooleanVariable
public TemporaryBooleanVariable(int offset)
-
-
Method Details
-
getType
Description copied from class:TemporaryVariableDifferentiates between different types of TemporaryVariables (useful for switch and persistence).- Overrides:
getTypein classTemporaryLocalVariable
-
getPrefix
- Overrides:
getPrefixin classTemporaryLocalVariable
-
clone
- Overrides:
clonein classTemporaryLocalVariable
-
visit
- Overrides:
visitin classTemporaryLocalVariable
-