< prev index next >

src/hotspot/share/opto/library_call.cpp

Print this page

        

@@ -2405,11 +2405,11 @@
   } else if (type == T_OBJECT) {
     return false; // off-heap oop accesses are not supported
   }
 
   // Can base be NULL? Otherwise, always on-heap access.
-  bool can_access_non_heap = TypePtr::NULL_PTR->higher_equal(_gvn.type(heap_base_oop));
+  bool can_access_non_heap = TypePtr::NULL_PTR->higher_equal(_gvn.type(base));
 
   if (!can_access_non_heap) {
     decorators |= IN_HEAP;
   }
 
< prev index next >