1.1 --- a/src/share/vm/opto/phaseX.hpp Thu Aug 09 18:00:58 2012 -0700 1.2 +++ b/src/share/vm/opto/phaseX.hpp Fri Aug 10 15:50:49 2012 -0700 1.3 @@ -193,6 +193,7 @@ 1.4 // If you want the type of a very new (untransformed) node, 1.5 // you must use type_or_null, and test the result for NULL. 1.6 const Type* type(const Node* n) const { 1.7 + assert(n != NULL, "must not be null"); 1.8 const Type* t = _types.fast_lookup(n->_idx); 1.9 assert(t != NULL, "must set before get"); 1.10 return t;