Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
5950:0f4014d7731b | 5951:dbd21c7c833f |
---|---|
1873 | 1873 |
1874 NOT_PRODUCT( verify_graph_edges(); ) | 1874 NOT_PRODUCT( verify_graph_edges(); ) |
1875 | 1875 |
1876 cfg.Estimate_Block_Frequency(); | 1876 cfg.Estimate_Block_Frequency(); |
1877 cfg.GlobalCodeMotion(m,unique(),proj_list); | 1877 cfg.GlobalCodeMotion(m,unique(),proj_list); |
1878 if (failing()) return; | |
1878 | 1879 |
1879 print_method("Global code motion", 2); | 1880 print_method("Global code motion", 2); |
1880 | 1881 |
1881 if (failing()) return; | |
1882 NOT_PRODUCT( verify_graph_edges(); ) | 1882 NOT_PRODUCT( verify_graph_edges(); ) |
1883 | 1883 |
1884 debug_only( cfg.verify(); ) | 1884 debug_only( cfg.verify(); ) |
1885 } | 1885 } |
1886 NOT_PRODUCT( verify_graph_edges(); ) | 1886 NOT_PRODUCT( verify_graph_edges(); ) |