# HG changeset patch # User Doug Simon # Date 1333020043 -7200 # Node ID 8c9f7d19fbc19415159d8fbbda9b1a4841788fac # Parent 99ad84da5f998a00b321cc6892133b5ebd5ebbe1 made HotSpotTypePrimitive.name() return the internal name form (as per the spec in RiType) diff -r 99ad84da5f99 -r 8c9f7d19fbc1 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotTypePrimitive.java --- 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