6738933: assert with base pointers must match with compressed oops enabled
authornever
Tue, 02 Sep 2008 15:03:05 -0700
changeset 1122 bf7aca320676
parent 1072 920cbfb2104c
child 1123 3fdc7f23127c
6738933: assert with base pointers must match with compressed oops enabled Reviewed-by: kvn, rasbold
hotspot/src/share/vm/opto/loopopts.cpp
--- a/hotspot/src/share/vm/opto/loopopts.cpp	Tue Sep 02 06:55:23 2008 -0700
+++ b/hotspot/src/share/vm/opto/loopopts.cpp	Tue Sep 02 15:03:05 2008 -0700
@@ -932,7 +932,7 @@
             // to fold a StoreP and an AddP together (as part of an
             // address expression) and the AddP and StoreP have
             // different controls.
-            if( !x->is_Load() ) _igvn._worklist.yank(x);
+            if( !x->is_Load() && !x->is_DecodeN() ) _igvn._worklist.yank(x);
           }
           _igvn.remove_dead_node(n);
         }