OpenJDK / jdk / jdk
changeset 59313:5747b0588472
8241070: Shenandoah: remove unused local variables in C2 support
Reviewed-by: shade
author | roland |
---|---|
date | Wed, 13 May 2020 17:00:59 +0200 |
parents | 1688221b62ab |
children | 7a4d31a184f6 |
files | src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp Fri May 15 21:54:28 2020 +0200 +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp Wed May 13 17:00:59 2020 +0200 @@ -525,7 +525,6 @@ assert(((decorators & C2_TIGHTLY_COUPLED_ALLOC) != 0 || !ShenandoahSATBBarrier) && (decorators & C2_ARRAY_COPY) != 0, "unexpected caller of this code"); C2OptAccess& opt_access = static_cast<C2OptAccess&>(access); PhaseGVN& gvn = opt_access.gvn(); - MergeMemNode* mm = opt_access.mem(); if (ShenandoahStoreValEnqueueBarrier) { Node* enqueue = gvn.transform(new ShenandoahEnqueueBarrierNode(val.node()));
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Fri May 15 21:54:28 2020 +0200 +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Wed May 13 17:00:59 2020 +0200 @@ -788,7 +788,6 @@ Node* c = ctrl; do { if (c->is_Region()) { - Node* phi_bottom = NULL; for (DUIterator_Fast imax, i = c->fast_outs(imax); i < imax && mem == NULL; i++) { Node* u = c->fast_out(i); if (u->is_Phi() && u->bottom_type() == Type::MEMORY) { @@ -1672,7 +1671,6 @@ bol->set_req(1, cmp); phase->register_new_node(bol, entry_c); - Node* old_bol =iff->in(1); phase->igvn().replace_input_of(iff, 1, bol); } } @@ -2263,7 +2261,7 @@ iteration++; assert(iteration <= 2+max_depth || _phase->C->has_irreducible_loop() || has_never_branch(_phase->C->root()), ""); if (trace) { tty->print_cr("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); } - IdealLoopTree* last_updated_ilt = NULL; + for (int i = rpo_list.size() - 1; i >= 0; i--) { Node* c = rpo_list.at(i);