Mercurial > hg > truffle
comparison src/share/vm/opto/chaitin.cpp @ 1012:5f29a958a545
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
author | kvn |
---|---|
date | Tue, 13 Oct 2009 20:54:13 -0700 |
parents | e90521d61f9a |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1011:fcb148c6b605 | 1012:5f29a958a545 |
---|---|
988 double cost = lrgs(lo_score)._cost; | 988 double cost = lrgs(lo_score)._cost; |
989 bool bound = lrgs(lo_score)._is_bound; | 989 bool bound = lrgs(lo_score)._is_bound; |
990 | 990 |
991 // Find cheapest guy | 991 // Find cheapest guy |
992 debug_only( int lo_no_simplify=0; ); | 992 debug_only( int lo_no_simplify=0; ); |
993 for( uint i = lrgs(lo_score)._next; i; i = lrgs(i)._next ) { | 993 for( uint i = _hi_degree; i; i = lrgs(i)._next ) { |
994 assert( !(*_ifg->_yanked)[i], "" ); | 994 assert( !(*_ifg->_yanked)[i], "" ); |
995 // It's just vaguely possible to move hi-degree to lo-degree without | 995 // It's just vaguely possible to move hi-degree to lo-degree without |
996 // going through a just-lo-degree stage: If you remove a double from | 996 // going through a just-lo-degree stage: If you remove a double from |
997 // a float live range it's degree will drop by 2 and you can skip the | 997 // a float live range it's degree will drop by 2 and you can skip the |
998 // just-lo-degree stage. It's very rare (shows up after 5000+ methods | 998 // just-lo-degree stage. It's very rare (shows up after 5000+ methods |