From 6a45d5415cbc61b5cc26d687004a1ad4733fd472 Mon Sep 17 00:00:00 2001 From: kvn Date: Tue, 13 Oct 2009 20:54:13 -0700 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/share/vm/opto/chaitin.cpp') diff --git a/src/share/vm/opto/chaitin.cpp b/src/share/vm/opto/chaitin.cpp index c16886c3e..86f5f2738 100644 --- a/src/share/vm/opto/chaitin.cpp +++ b/src/share/vm/opto/chaitin.cpp @@ -990,7 +990,7 @@ void PhaseChaitin::Simplify( ) { // 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 -- cgit v1.2.3