[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Thu Dec 7 13:44:27 PST 2006
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.49 -> 1.50
---
Log message:
Fix thinko.
---
Diffs of the changes: (+2 -2)
PassManager.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.49 llvm/lib/VMCore/PassManager.cpp:1.50
--- llvm/lib/VMCore/PassManager.cpp:1.49 Thu Dec 7 15:32:57 2006
+++ llvm/lib/VMCore/PassManager.cpp Thu Dec 7 15:44:12 2006
@@ -883,9 +883,9 @@
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
More information about the llvm-commits
mailing list