mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 14:20:33 +00:00
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
877bfbb9ef
commit
502f19e0f8
@ -883,9 +883,9 @@ bool PassManagerImpl_New::addPass(Pass *P) {
|
||||
if (!activeManager || !activeManager->addPass(P)) {
|
||||
activeManager = new ModulePassManager_New();
|
||||
PassManagers.push_back(activeManager);
|
||||
return activeManager->addPass(P);
|
||||
}
|
||||
|
||||
return activeManager->addPass(P);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// run - Execute all of the passes scheduled for execution. Keep track of
|
||||
|
Loading…
Reference in New Issue
Block a user