public class Fixnum extends ImmutableLiteral
Modifier and Type | Field and Description |
---|---|
long |
value |
EMPTY_ARRAY
Constructor and Description |
---|
Fixnum(java.math.BigInteger val) |
Fixnum(long val) |
Modifier and Type | Method and Description |
---|---|
Operand |
computeValue(java.lang.String methodName,
Operand arg) |
java.lang.Object |
createCacheObject(ThreadContext context)
Implementing class is responsible for constructing the cached value.
|
long |
getValue() |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
addUsedVariables, cachedObject, canCopyPropagate, cloneForInlining, hasKnownValue, isCached, retrieve
fetchCompileTimeArrayElement, getSimplifiedOperand, getValue
public java.lang.Object createCacheObject(ThreadContext context)
ImmutableLiteral
createCacheObject
in class ImmutableLiteral
public java.lang.String toString()
toString
in class java.lang.Object
public long getValue()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.