7152955: print_method crashes with null root

Tue, 13 Mar 2012 20:54:56 -0700

author
never
date
Tue, 13 Mar 2012 20:54:56 -0700
changeset 3654
dbd21c7c833f
parent 3653
0f4014d7731b
child 3655
56ee89841dc4

7152955: print_method crashes with null root
Reviewed-by: kvn, never
Contributed-by: nils.eliasson@oracle.com

src/share/vm/opto/compile.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/compile.cpp	Tue Mar 13 10:03:59 2012 -0700
     1.2 +++ b/src/share/vm/opto/compile.cpp	Tue Mar 13 20:54:56 2012 -0700
     1.3 @@ -1875,10 +1875,10 @@
     1.4  
     1.5      cfg.Estimate_Block_Frequency();
     1.6      cfg.GlobalCodeMotion(m,unique(),proj_list);
     1.7 +    if (failing())  return;
     1.8  
     1.9      print_method("Global code motion", 2);
    1.10  
    1.11 -    if (failing())  return;
    1.12      NOT_PRODUCT( verify_graph_edges(); )
    1.13  
    1.14      debug_only( cfg.verify(); )

mercurial