| Modifier and Type | Field and Description |
|---|---|
| public final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createCacheObject(ThreadContext context)
Implements abstract org. Implementing class is responsible for constructing the cached value. |
| public OperandType | |
| public double | |
| public boolean | hasKnownValue()
Overrides org. Do we know the value of this operand at compile-time? |
| public boolean | isTruthyImmediate()
Overrides org. Returns true if this is an immediate value that will always be considered truthy (true, numbers, etc) |
| public String | |
| public void |
| value | back to summary |
|---|---|
| public final double value | |
| UnboxedFloat | back to summary |
|---|---|
| public UnboxedFloat(double value) | |
| createCacheObject | back to summary |
|---|---|
| public Object createCacheObject(ThreadContext context) Implements abstract org. Doc from org. Implementing class is responsible for constructing the cached value.
| |
| getOperandType | back to summary |
|---|---|
| public OperandType getOperandType() Implements abstract org.
| |
| getValue | back to summary |
|---|---|
| public double getValue() | |
| hasKnownValue | back to summary |
|---|---|
| public boolean hasKnownValue() Overrides org. Doc from org. Do we know the value of this operand at compile-time? If we do then it may be possible to constant propagate (one case: We also know it is also an ImmutableLiteral).
| |
| isTruthyImmediate | back to summary |
|---|---|
| public boolean isTruthyImmediate() Overrides org. Doc from org. Returns true if this is an immediate value that will always be considered truthy (true, numbers, etc)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |