Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/Value.java @ 21728:99fe8116f3e8
Make shared NO_VALUES array
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 19:35:19 -0700 |
parents | 48c1ebd24120 |
children | e7f5ddef438d |
comparison
equal
deleted
inserted
replaced
21646:645f170013a4 | 21728:99fe8116f3e8 |
---|---|
25 /** | 25 /** |
26 * Interface for values manipulated by the compiler. All values have a {@linkplain Kind kind} and | 26 * Interface for values manipulated by the compiler. All values have a {@linkplain Kind kind} and |
27 * are immutable. | 27 * are immutable. |
28 */ | 28 */ |
29 public interface Value extends KindProvider, TrustedInterface { | 29 public interface Value extends KindProvider, TrustedInterface { |
30 | |
31 Value[] NO_VALUES = new Value[0]; | |
30 | 32 |
31 AllocatableValue ILLEGAL = new AllocatableValue(LIRKind.Illegal) { | 33 AllocatableValue ILLEGAL = new AllocatableValue(LIRKind.Illegal) { |
32 | 34 |
33 @Override | 35 @Override |
34 public String toString() { | 36 public String toString() { |