src/share/vm/opto/phaseX.hpp

changeset 3975
ee7edf31f688
parent 3947
611e8a669a2c
parent 3969
1d7922586cf6
child 4153
b9a9ed0f8eeb
child 4157
377508648226
     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;

mercurial