Fix thinko.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2006-12-07 21:44:12 +00:00
parent 877bfbb9ef
commit 502f19e0f8

View File

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