[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp
Devang Patel
dpatel at apple.com
Thu Jun 21 15:29:25 PDT 2007
Changes in directory llvm/lib/Analysis/IPA:
CallGraphSCCPass.cpp updated: 1.24 -> 1.25
---
Log message:
CallGraphSCCPass manager may require other passes.
Use schedulePass() to accomodate these requirement instead of directly
assigning a manager to new CallGraph PassManager.
---
Diffs of the changes: (+1 -1)
CallGraphSCCPass.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp
diff -u llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp:1.24 llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp:1.25
--- llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp:1.24 Wed May 2 20:11:53 2007
+++ llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp Thu Jun 21 17:29:02 2007
@@ -178,7 +178,7 @@
// [3] Assign manager to manage this new manager. This may create
// and push new managers into PMS
Pass *P = dynamic_cast<Pass *>(CGP);
- P->assignPassManager(PMS);
+ TPM->schedulePass(P);
// [4] Push new manager into PMS
PMS.push(CGP);
More information about the llvm-commits
mailing list