6738933: assert with base pointers must match with compressed oops enabled
Reviewed-by: kvn, rasbold
--- 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);
}