< prev index next >
src/share/vm/opto/callnode.cpp
Print this page
@@ -782,12 +782,12 @@
if (meth->is_getter()) {
return false;
}
// May modify (by reflection) if an boxing object is passed
// as argument or returned.
- if (returns_pointer() && (proj_out(TypeFunc::Parms) != NULL)) {
Node* proj = proj_out(TypeFunc::Parms);
+ if (returns_pointer() && (proj != NULL)) {
const TypeInstPtr* inst_t = phase->type(proj)->isa_instptr();
if ((inst_t != NULL) && (!inst_t->klass_is_exact() ||
(inst_t->klass() == boxing_klass))) {
return true;
}
< prev index next >