aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/share/vm/opto/chaitin.cpp2
1 files changed, 1 insertions, 1 deletions
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