ir_opt/a64_get_set_elimination_pass: Remove redundant return

This lambda function has a void return type, so we don't need to
explicitly return at the end of it.
This commit is contained in:
Lioncash 2019-05-24 02:03:25 -04:00 committed by MerryMage
parent 182ceb2807
commit 25b4e463d3

View file

@ -66,7 +66,6 @@ void A64GetSetElimination(IR::Block& block) {
}
do_nothing();
return;
};
for (auto inst = block.begin(); inst != block.end(); ++inst) {