aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/chaitin.cpp
diff options
context:
space:
mode:
authorkvn <none@none>2009-10-13 20:54:13 -0700
committerkvn <none@none>2009-10-13 20:54:13 -0700
commit6a45d5415cbc61b5cc26d687004a1ad4733fd472 (patch)
tree51cf7523726b894912afff5ec735195e1364efde /src/share/vm/opto/chaitin.cpp
parentf504f77a8cf81f1035fc16677756781b8fe17fd2 (diff)
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
Diffstat (limited to 'src/share/vm/opto/chaitin.cpp')
-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