aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/loopopts.cpp
diff options
context:
space:
mode:
authornever <none@none>2008-09-02 15:03:05 -0700
committernever <none@none>2008-09-02 15:03:05 -0700
commit99ec81a7114632ee754c00c9528ca81b30b1fb64 (patch)
tree99c4c15ae0ffc01b2e966e3945ae0364c2c8b941 /src/share/vm/opto/loopopts.cpp
parentff87ec6fca78fb3b962044c3b9527afda632cae6 (diff)
6738933: assert with base pointers must match with compressed oops enabled
Reviewed-by: kvn, rasbold
Diffstat (limited to 'src/share/vm/opto/loopopts.cpp')
-rw-r--r--src/share/vm/opto/loopopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/loopopts.cpp b/src/share/vm/opto/loopopts.cpp
index 06aab460d..36ceb61a3 100644
--- a/src/share/vm/opto/loopopts.cpp
+++ b/src/share/vm/opto/loopopts.cpp
@@ -932,7 +932,7 @@ void PhaseIdealLoop::split_if_with_blocks_post( Node *n ) {
// 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);
}