6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce

Tue, 13 Oct 2009 20:54:13 -0700

author
kvn
date
Tue, 13 Oct 2009 20:54:13 -0700
changeset 1447
5f29a958a545
parent 1446
fcb148c6b605
child 1448
ce590301ae2a

6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce
Summary: Restore the original code: uint i = _hi_degree.
Reviewed-by: never, jrose

src/share/vm/opto/chaitin.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/chaitin.cpp	Tue Oct 13 16:29:31 2009 -0700
     1.2 +++ b/src/share/vm/opto/chaitin.cpp	Tue Oct 13 20:54:13 2009 -0700
     1.3 @@ -990,7 +990,7 @@
     1.4  
     1.5      // Find cheapest guy
     1.6      debug_only( int lo_no_simplify=0; );
     1.7 -    for( uint i = lrgs(lo_score)._next; i; i = lrgs(i)._next ) {
     1.8 +    for( uint i = _hi_degree; i; i = lrgs(i)._next ) {
     1.9        assert( !(*_ifg->_yanked)[i], "" );
    1.10        // It's just vaguely possible to move hi-degree to lo-degree without
    1.11        // going through a just-lo-degree stage: If you remove a double from

mercurial