< prev index next >
src/share/vm/ci/ciObject.cpp
Print this page
rev 12854 : [mq]: gcinterface.patch
@@ -195,11 +195,11 @@
// ------------------------------------------------------------------
// ciObject::should_be_constant()
void ciObject::init_flags_from(oop x) {
int flags = 0;
if (x != NULL) {
- assert(Universe::heap()->is_in_reserved(x), "must be");
+ assert(GC::gc()->heap()->is_in_reserved(x), "must be");
if (x->is_scavengable())
flags |= SCAVENGABLE_FLAG;
}
_ident |= flags;
}
< prev index next >