[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Fri Jan 12 12:07:35 PST 2007
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.119 -> 1.120
---
Log message:
s/addPassToManager/add/g
---
Diffs of the changes: (+4 -4)
PassManager.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.119 llvm/lib/VMCore/PassManager.cpp:1.120
--- llvm/lib/VMCore/PassManager.cpp:1.119 Fri Jan 12 12:52:44 2007
+++ llvm/lib/VMCore/PassManager.cpp Fri Jan 12 14:07:16 2007
@@ -558,7 +558,7 @@
/// Add pass P into the PassVector. Update
/// AvailableAnalysis appropriately if ProcessAnalysis is true.
-void PMDataManager::addPassToManager(Pass *P,
+void PMDataManager::add(Pass *P,
bool ProcessAnalysis) {
// This manager is going to manage pass P. Set up analysis resolver
@@ -1207,7 +1207,7 @@
MPPassManager *MPP = dynamic_cast<MPPassManager *>(PMS.top());
assert(MPP && "Unable to find Module Pass Manager");
- MPP->addPassToManager(this);
+ MPP->add(this);
}
/// Find appropriate Function Pass Manager or Call Graph Pass Manager
@@ -1245,7 +1245,7 @@
}
// Assign FPP as the manager of this pass.
- FPP->addPassToManager(this);
+ FPP->add(this);
}
/// Find appropriate Basic Pass Manager or Call Graph Pass Manager
@@ -1285,7 +1285,7 @@
}
// Assign BBP as the manager of this pass.
- BBP->addPassToManager(this);
+ BBP->add(this);
}
More information about the llvm-commits
mailing list