Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/phaseX.hpp @ 17671:de95063c0e34
8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Summary: type methods shouldn't always operate on speculative part
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Fri, 24 Jan 2014 09:31:53 +0100 |
parents | 55fb97c4c58d |
children | 4ca6dc0799b6 70649f10b88c |
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.hpp Tue Jan 14 17:46:48 2014 -0800 +++ b/src/share/vm/opto/phaseX.hpp Fri Jan 24 09:31:53 2014 +0100 @@ -92,7 +92,8 @@ } void remove_useless_nodes(VectorSet &useful); // replace with sentinel - void replace_with(NodeHash* nh); + void replace_with(NodeHash* nh); + void check_no_speculative_types(); // Check no speculative part for type nodes in table Node *sentinel() { return _sentinel; } @@ -501,6 +502,9 @@ Deoptimization::DeoptReason reason); void remove_speculative_types(); + void check_no_speculative_types() { + _table.check_no_speculative_types(); + } #ifndef PRODUCT protected: