aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/loopopts.cpp
diff options
context:
space:
mode:
authorroland <none@none>2012-10-09 10:11:38 +0200
committerroland <none@none>2012-10-09 10:11:38 +0200
commit423ea14f6cc00a9361047d24e99abd06b824c657 (patch)
tree2fa833af2a92fbc1ed0862fbbe0cc5dfd8568118 /src/share/vm/opto/loopopts.cpp
parentfb8c7bd27990938a885fa0c99e576f9bfda8177c (diff)
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers. Reviewed-by: kvn, twisti
Diffstat (limited to 'src/share/vm/opto/loopopts.cpp')
-rw-r--r--src/share/vm/opto/loopopts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/opto/loopopts.cpp b/src/share/vm/opto/loopopts.cpp
index 5c49a0444..9c8114734 100644
--- a/src/share/vm/opto/loopopts.cpp
+++ b/src/share/vm/opto/loopopts.cpp
@@ -550,7 +550,7 @@ Node *PhaseIdealLoop::conditional_move( Node *region ) {
// This will likely Split-If, a higher-payoff operation.
for (DUIterator_Fast kmax, k = phi->fast_outs(kmax); k < kmax; k++) {
Node* use = phi->fast_out(k);
- if (use->is_Cmp() || use->is_DecodeN() || use->is_EncodeP())
+ if (use->is_Cmp() || use->is_DecodeNarrowPtr() || use->is_EncodeNarrowPtr())
cost += ConditionalMoveLimit;
// Is there a use inside the loop?
// Note: check only basic types since CMoveP is pinned.
@@ -1006,7 +1006,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() && !x->is_DecodeN() ) _igvn._worklist.yank(x);
+ if (!x->is_Load() && !x->is_DecodeNarrowPtr()) _igvn._worklist.yank(x);
}
_igvn.remove_dead_node(n);
}