mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
FEXCore/IR: Fixes bug in IRDumper without specification
Didn't notice this in the previous PR, When DUMPIR=stderr without and selection of where to place it in PASSMANAGERDUMPIR it was supposed to put the dumper at the end of the passes. We need to make sure that it it placed at the end of the passes rather than current `it`.
This commit is contained in:
1 parent
f95ef7092c
commit
fc12958095
1 file changed
+1
-1
+1
-1
@@ -60,7 +60,7 @@ void PassManager::Finalize() {
|
||||
if (PassManagerDumpIR() & FEXCore::Config::PassManagerDumpIR::AFTEROPT) {
|
||||
if (!(PassManagerDumpIR() & FEXCore::Config::PassManagerDumpIR::AFTERPASS)) {
|
||||
// Insert final IRDumper.
|
||||
it = InsertAt(it, Debug::CreateIRDumper());
|
||||
InsertAt(Passes.end(), Debug::CreateIRDumper());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user