diff jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotReferenceMap.java @ 22190:488d54275360

Rename LIRKind.derivedReference to LIRKind.unknownReference.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 09 Jul 2015 14:39:08 +0200
parents ae67bd822493
children 9c811a5e6a62
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotReferenceMap.java	Thu Jul 09 14:29:51 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotReferenceMap.java	Thu Jul 09 14:39:08 2015 +0200
@@ -68,7 +68,7 @@
         LIRKind lirKind = v.getLIRKind();
         if (!lirKind.isValue()) {
             objectValues.add(v);
-            if (lirKind.isDerivedReference()) {
+            if (lirKind.isUnknownReference()) {
                 objectCount++;
             } else {
                 objectCount += lirKind.getReferenceCount();
@@ -92,7 +92,7 @@
         for (Value obj : objectValues) {
             LIRKind kind = obj.getLIRKind();
             int bytes = bytesPerElement(kind);
-            if (kind.isDerivedReference()) {
+            if (kind.isUnknownReference()) {
                 throw JVMCIError.unimplemented("derived references not yet implemented");
             } else {
                 for (int i = 0; i < kind.getPlatformKind().getVectorLength(); i++) {