diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java @ 1422:3483ec571caf

* using reflected objects instead of oops * removed scratch from allocatable registers * instanceof xir snippet * arraylength xir snippet * exceptionobject xir snippet * VMEntries and VMExits as interfaces * calls to VMEntries and VMExits are routet through logging proxies
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 02 Aug 2010 15:44:38 -0700
parents 6223633ce7dd
children 760213a60e8b
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java	Fri Jul 23 15:53:02 2010 -0700
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java	Mon Aug 02 15:44:38 2010 -0700
@@ -8,13 +8,13 @@
 public class HotSpotField implements RiField {
 
     private final RiType holder;
-    private final Object nameSymbol;
+    private final String name;
     private final RiType type;
     private final int offset;
 
-    public HotSpotField(RiType holder, Object nameSymbol, RiType type, int offset) {
+    public HotSpotField(RiType holder, String name, RiType type, int offset) {
         this.holder = holder;
-        this.nameSymbol = nameSymbol;
+        this.name = name;
         this.type = type;
         this.offset = offset;
     }
@@ -54,7 +54,7 @@
 
     @Override
     public String name() {
-        return Compiler.getVMEntries().RiSignature_symbolToString(nameSymbol);
+        return name;
     }
 
     @Override