8277562: Remove dead method c1 If::swap_sux

Reviewed-by: thartmann, neliasso
This commit is contained in:
Ludvig Janiuk 2021-11-24 11:03:07 +00:00 committed by Nils Eliasson
parent d085c2b8a7
commit 8a8bc29f20

View File

@ -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; }