< prev index next >
src/share/vm/opto/machnode.cpp
Print this page
rev 12310 : [mq]: gcinterface.patch
*** 343,353 ****
// 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");
return TypeRawPtr::BOTTOM;
}
// base of -1 with no particular offset means all of memory
if (base == NodeSentinel) return TypePtr::BOTTOM;
--- 343,353 ----
// NULL base, any offset means any pointer whatever
if (offset == Type::OffsetBot) {
return TypePtr::BOTTOM;
}
// %%% make offset be intptr_t
! 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 >