mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-04-26 14:43:39 +02:00
basic_block: Move all variables behind a public interface
This commit is contained in:
@@ -25,7 +25,7 @@ void DeadCodeElimination(IR::Block& block) {
|
||||
--iter;
|
||||
if (!iter->HasUses() && !iter->MayHaveSideEffects()) {
|
||||
iter->Invalidate();
|
||||
iter = block.instructions.erase(iter);
|
||||
iter = block.Instructions().erase(iter);
|
||||
}
|
||||
} while (iter != block.begin());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user