Mercurial > hg > graal-jvmci-8
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java @ 2055:99ad52189524
Refactorings to get towards less CRI overhead.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 13 Jan 2011 17:45:17 +0100 |
parents | 3c0a889a176b |
children | 8f033d37798a |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java Wed Jan 12 19:14:32 2011 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java Thu Jan 13 17:45:17 2011 +0100 @@ -28,7 +28,7 @@ * * @author Thomas Wuerthinger, Lukas Stadler */ -public final class HotSpotTypePrimitive extends CompilerObject implements HotSpotType { +public final class HotSpotTypePrimitive extends HotSpotType { private CiKind kind; @@ -44,6 +44,7 @@ private HotSpotTypePrimitive(CiKind kind) { this.kind = kind; + this.name = kind.toString(); } @Override @@ -141,16 +142,6 @@ } @Override - public String name() { - return kind.toString(); - } - - @Override - public String simpleName() { - return kind.toString(); - } - - @Override public RiMethod resolveMethodImpl(RiMethod method) { return null; }