hotspot/src/share/vm/opto/phaseX.hpp
changeset 13391 30245956af37
parent 12958 009b6c9586d8
child 13397 29369e94a65b
--- a/hotspot/src/share/vm/opto/phaseX.hpp	Mon Jul 23 13:04:59 2012 -0700
+++ b/hotspot/src/share/vm/opto/phaseX.hpp	Tue Jul 24 10:51:00 2012 -0700
@@ -193,6 +193,7 @@
   // If you want the type of a very new (untransformed) node,
   // you must use type_or_null, and test the result for NULL.
   const Type* type(const Node* n) const {
+    assert(n != NULL, "must not be null");
     const Type* t = _types.fast_lookup(n->_idx);
     assert(t != NULL, "must set before get");
     return t;