comparison graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/PrimitiveConstant.java @ 18320:0093dcea7092

converted JavaConstant to an interface
author Doug Simon <doug.simon@oracle.com>
date Fri, 07 Nov 2014 22:18:17 +0100
parents 9619ba4daf4c
children ef51dadd50f7
comparison
equal deleted inserted replaced
18319:56cc1a799a60 18320:0093dcea7092
24 24
25 /** 25 /**
26 * Represents a primitive constant value, such as an integer or floating point number, within the 26 * Represents a primitive constant value, such as an integer or floating point number, within the
27 * compiler and across the compiler/runtime interface. 27 * compiler and across the compiler/runtime interface.
28 */ 28 */
29 public class PrimitiveConstant extends JavaConstant { 29 public class PrimitiveConstant extends AbstractValue implements JavaConstant {
30 30
31 private static final long serialVersionUID = 8787949721295655376L; 31 private static final long serialVersionUID = 8787949721295655376L;
32 32
33 /** 33 /**
34 * The boxed primitive value as a {@code long}. For {@code float} and {@code double} values, 34 * The boxed primitive value as a {@code long}. For {@code float} and {@code double} values,