src/share/vm/opto/phaseX.hpp

changeset 3969
1d7922586cf6
parent 3847
5e990493719e
child 3975
ee7edf31f688
     1.1 --- a/src/share/vm/opto/phaseX.hpp	Mon Jul 23 13:04:59 2012 -0700
     1.2 +++ b/src/share/vm/opto/phaseX.hpp	Tue Jul 24 10:51:00 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;

mercurial