< prev index next >

src/share/vm/opto/machnode.cpp

Print this page
rev 12854 : [mq]: gcinterface.patch

@@ -343,11 +343,11 @@
     // NULL base, any offset means any pointer whatever
     if (offset == Type::OffsetBot) {
       return TypePtr::BOTTOM;
     }
     // %%% make offset be intptr_t
-    assert(!Universe::heap()->is_in_reserved(cast_to_oop(offset)), "must be a raw ptr");
+    assert(!GC::gc()->heap()->is_in_reserved(cast_to_oop(offset)), "must be a raw ptr");
     return TypeRawPtr::BOTTOM;
   }
 
   // base of -1 with no particular offset means all of memory
   if (base == NodeSentinel)  return TypePtr::BOTTOM;
< prev index next >