7152955: print_method crashes with null root
Reviewed-by: kvn, never
This commit is contained in:
parent
3683f82865
commit
ea28f47062
@ -1875,10 +1875,10 @@ void Compile::Code_Gen() {
|
|||||||
|
|
||||||
cfg.Estimate_Block_Frequency();
|
cfg.Estimate_Block_Frequency();
|
||||||
cfg.GlobalCodeMotion(m,unique(),proj_list);
|
cfg.GlobalCodeMotion(m,unique(),proj_list);
|
||||||
|
if (failing()) return;
|
||||||
|
|
||||||
print_method("Global code motion", 2);
|
print_method("Global code motion", 2);
|
||||||
|
|
||||||
if (failing()) return;
|
|
||||||
NOT_PRODUCT( verify_graph_edges(); )
|
NOT_PRODUCT( verify_graph_edges(); )
|
||||||
|
|
||||||
debug_only( cfg.verify(); )
|
debug_only( cfg.verify(); )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user