# HG changeset patch # User kvn # Date 1255492453 25200 # Node ID fee7000abec20c459295cb6d7ad6ac2e82eda27c # Parent b59b8c3879503bd1e843491dad71060565a65282 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 diff -r b59b8c387950 -r fee7000abec2 hotspot/src/share/vm/opto/chaitin.cpp --- a/hotspot/src/share/vm/opto/chaitin.cpp Tue Oct 13 16:29:31 2009 -0700 +++ b/hotspot/src/share/vm/opto/chaitin.cpp Tue Oct 13 20:54:13 2009 -0700 @@ -990,7 +990,7 @@ // Find cheapest guy debug_only( int lo_no_simplify=0; ); - for( uint i = lrgs(lo_score)._next; i; i = lrgs(i)._next ) { + for( uint i = _hi_degree; i; i = lrgs(i)._next ) { assert( !(*_ifg->_yanked)[i], "" ); // It's just vaguely possible to move hi-degree to lo-degree without // going through a just-lo-degree stage: If you remove a double from