src/share/vm/opto/matcher.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/matcher.cpp	Fri Jun 20 14:33:59 2008
--- new/src/share/vm/opto/matcher.cpp	Fri Jun 20 14:33:59 2008

*** 1764,1775 **** --- 1764,1775 ---- } break; } case Op_ConN: { // Convert narrow pointers above the centerline to NUL TypeNode *tn = n->as_Type(); // Constants derive from type nodes ! const TypePtr* tp = tn->type()->is_narrowoop()->make_oopptr(); ! if (tp->_ptr == TypePtr::AnyNull) { ! const TypePtr* tp = tn->type()->make_ptr(); ! if (tp && tp->_ptr == TypePtr::AnyNull) { tn->set_type(TypeNarrowOop::NULL_PTR); } break; } case Op_Binary: // These are introduced in the Post_Visit state.

src/share/vm/opto/matcher.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File