Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLBigIntegerLiteralNode.java @ 16512:abe7128ca473
SL: upgrade source attribution
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Mon, 14 Jul 2014 16:51:41 -0700 |
parents | c929a4a3b6c5 |
children | c0455554d45b |
comparison
equal
deleted
inserted
replaced
16511:aee02665e505 | 16512:abe7128ca473 |
---|---|
24 | 24 |
25 import java.math.*; | 25 import java.math.*; |
26 | 26 |
27 import com.oracle.truffle.api.frame.*; | 27 import com.oracle.truffle.api.frame.*; |
28 import com.oracle.truffle.api.nodes.*; | 28 import com.oracle.truffle.api.nodes.*; |
29 import com.oracle.truffle.api.source.*; | |
29 import com.oracle.truffle.sl.nodes.*; | 30 import com.oracle.truffle.sl.nodes.*; |
30 | 31 |
31 /** | 32 /** |
32 * Constant literal for a arbitrary-precision number that exceeds the range of | 33 * Constant literal for a arbitrary-precision number that exceeds the range of |
33 * {@link SLLongLiteralNode}. | 34 * {@link SLLongLiteralNode}. |
35 @NodeInfo(shortName = "const") | 36 @NodeInfo(shortName = "const") |
36 public final class SLBigIntegerLiteralNode extends SLExpressionNode { | 37 public final class SLBigIntegerLiteralNode extends SLExpressionNode { |
37 | 38 |
38 private final BigInteger value; | 39 private final BigInteger value; |
39 | 40 |
40 public SLBigIntegerLiteralNode(BigInteger value) { | 41 public SLBigIntegerLiteralNode(SourceSection src, BigInteger value) { |
42 super(src); | |
41 this.value = value; | 43 this.value = value; |
42 } | 44 } |
43 | 45 |
44 @Override | 46 @Override |
45 public BigInteger executeBigInteger(VirtualFrame frame) { | 47 public BigInteger executeBigInteger(VirtualFrame frame) { |