Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/Value.java @ 23708:282873d0192c
Provide more control over the kind reported when printing Values
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 21 Jun 2016 14:36:00 -0700 |
parents | 9ed5b586018b |
children |
comparison
equal
deleted
inserted
replaced
23707:8820e1874bf7 | 23708:282873d0192c |
---|---|
63 /** | 63 /** |
64 * Returns a String representation of the kind, which should be the end of all | 64 * Returns a String representation of the kind, which should be the end of all |
65 * {@link #toString()} implementation of subclasses. | 65 * {@link #toString()} implementation of subclasses. |
66 */ | 66 */ |
67 protected final String getKindSuffix() { | 67 protected final String getKindSuffix() { |
68 return "|" + getPlatformKind().getTypeChar(); | 68 return "|" + valueKind.getKindSuffix(); |
69 } | 69 } |
70 | 70 |
71 public final ValueKind<?> getValueKind() { | 71 public final ValueKind<?> getValueKind() { |
72 return valueKind; | 72 return valueKind; |
73 } | 73 } |