diff src/share/vm/opto/phaseX.hpp @ 6272:ee7edf31f688

Merge
author twisti
date Fri, 10 Aug 2012 15:50:49 -0700
parents 611e8a669a2c 1d7922586cf6
children b9a9ed0f8eeb 377508648226
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.hpp	Thu Aug 09 18:00:58 2012 -0700
+++ b/src/share/vm/opto/phaseX.hpp	Fri Aug 10 15:50:49 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;