diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotType.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 569d3fe7d65c
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotType.java	Wed Jan 12 19:14:32 2011 +0100
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotType.java	Thu Jan 13 17:45:17 2011 +0100
@@ -27,8 +27,11 @@
  *
  * @author Lukas Stadler
  */
-public interface HotSpotType extends RiType {
+public abstract class HotSpotType extends CompilerObject implements RiType {
+    protected String name;
 
-    String simpleName();
-
+    @Override
+    public final String name() {
+        return name;
+    }
 }