Mercurial > hg > truffle
diff src/share/vm/opto/compile.cpp @ 5951:dbd21c7c833f
7152955: print_method crashes with null root
Reviewed-by: kvn, never
Contributed-by: nils.eliasson@oracle.com
author | never |
---|---|
date | Tue, 13 Mar 2012 20:54:56 -0700 |
parents | ee138854b3a6 |
children | 8b0a4867acf0 |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp Tue Mar 13 10:03:59 2012 -0700 +++ b/src/share/vm/opto/compile.cpp Tue Mar 13 20:54:56 2012 -0700 @@ -1875,10 +1875,10 @@ cfg.Estimate_Block_Frequency(); cfg.GlobalCodeMotion(m,unique(),proj_list); + if (failing()) return; print_method("Global code motion", 2); - if (failing()) return; NOT_PRODUCT( verify_graph_edges(); ) debug_only( cfg.verify(); )