Mercurial > hg > graal-compiler
changeset 5172:8c9f7d19fbc1
made HotSpotTypePrimitive.name() return the internal name form (as per the spec in RiType)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 29 Mar 2012 13:20:43 +0200 |
parents | 99ad84da5f99 |
children | 6bf22ac8141e |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotTypePrimitive.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotTypePrimitive.java Thu Mar 29 10:52:12 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotTypePrimitive.java Thu Mar 29 13:20:43 2012 +0200 @@ -45,7 +45,7 @@ public HotSpotTypePrimitive(Compiler compiler, CiKind kind) { super(compiler); this.kind = kind; - this.name = kind.toString(); + this.name = String.valueOf(Character.toUpperCase(kind.typeChar)); } @Override