Skip to content
Permalink
Browse files
8277562: Remove dead method c1 If::swap_sux
Reviewed-by: thartmann, neliasso
  • Loading branch information
LudwikJaniuk authored and Nils Eliasson committed Nov 24, 2021
1 parent d085c2b commit 8a8bc29f203fa4aaa29303a778fd388e32ca651a
Showing 1 changed file with 0 additions and 8 deletions.
@@ -1998,14 +1998,6 @@ LEAF(If, BlockEnd)
_cond = mirror(_cond);
}

void swap_sux() {
assert(number_of_sux() == 2, "wrong number of successors");
BlockList* s = sux();
BlockBegin* t = s->at(0); s->at_put(0, s->at(1)); s->at_put(1, t);
_cond = negate(_cond);
set_flag(UnorderedIsTrueFlag, !check_flag(UnorderedIsTrueFlag));
}

void set_should_profile(bool value) { set_flag(ProfileMDOFlag, value); }
void set_profiled_method(ciMethod* method) { _profiled_method = method; }
void set_profiled_bci(int bci) { _profiled_bci = bci; }

1 comment on commit 8a8bc29

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 8a8bc29 Nov 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.