public Operand buildBignum(BignumNode node) { // Since bignum literals are effectively interned objects, no need to copyAndReturnValue(...) // SSS FIXME: Or is this a premature optimization? return new Bignum(node.getValue()); }
case ARRAY: return Array.decode(this); case AS_STRING: return AsString.decode(this); case BIGNUM: return Bignum.decode(this); case BOOLEAN: return org.jruby.ir.operands.Boolean.decode(this); case COMPLEX: return Complex.decode(this);
case ARRAY: return Array.decode(this); case AS_STRING: return AsString.decode(this); case BIGNUM: return Bignum.decode(this); case BOOLEAN: return org.jruby.ir.operands.Boolean.decode(this); case COMPLEX: return Complex.decode(this);
public Operand buildBignum(BignumNode node, IRScope s) { // SSS: Since bignum literals are effectively interned objects, no need to copyAndReturnValue(...) // Or is this a premature optimization? return new Bignum(node.getValue()); }
public Operand buildBignum(BignumNode node) { // Since bignum literals are effectively interned objects, no need to copyAndReturnValue(...) // SSS FIXME: Or is this a premature optimization? return new Bignum(node.getValue()); }
public Operand buildBignum(BignumNode node, IRScope s) { // SSS: Since bignum literals are effectively interned objects, no need to copyAndReturnValue(...) // Or is this a premature optimization? return new Bignum(node.getValue()); }
public static Bignum decode(IRReaderDecoder d) { return new Bignum(new BigInteger(d.decodeString())); }
public static Bignum decode(IRReaderDecoder d) { return new Bignum(new BigInteger(d.decodeString())); }