Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/Value.java @ 21710:26774dc3a5e7
removed ExcludeFromIdentityComparisonVerification and replaced it with a white list in CheckGraalInvariants
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 21:34:21 +0200 |
parents | 48c1ebd24120 |
children | 27943aac2e3c |
comparison
equal
deleted
inserted
replaced
21709:3c17c0c41a6b | 21710:26774dc3a5e7 |
---|---|
54 * Checks if this value is identical to {@code other}. | 54 * Checks if this value is identical to {@code other}. |
55 * | 55 * |
56 * Warning: Use with caution! Usually equivalence {@link #equals(Object)} is sufficient and | 56 * Warning: Use with caution! Usually equivalence {@link #equals(Object)} is sufficient and |
57 * should be used. | 57 * should be used. |
58 */ | 58 */ |
59 @ExcludeFromIdentityComparisonVerification | |
60 default boolean identityEquals(Value other) { | 59 default boolean identityEquals(Value other) { |
61 return this == other; | 60 return this == other; |
62 } | 61 } |
63 } | 62 } |