[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp

Devang Patel dpatel at apple.com
Wed Jan 17 12:33:52 PST 2007



Changes in directory llvm/lib/VMCore:

PassManager.cpp updated: 1.127 -> 1.128
---
Log message:

s/PassDebugging_New/PassDebugging/g


---
Diffs of the changes:  (+5 -5)

 PassManager.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.127 llvm/lib/VMCore/PassManager.cpp:1.128
--- llvm/lib/VMCore/PassManager.cpp:1.127	Wed Jan 17 14:30:17 2007
+++ llvm/lib/VMCore/PassManager.cpp	Wed Jan 17 14:33:36 2007
@@ -39,7 +39,7 @@
 };
 
 static cl::opt<enum PassDebugLevel>
-PassDebugging_New("debug-pass", cl::Hidden,
+PassDebugging("debug-pass", cl::Hidden,
                   cl::desc("Print PassManager debugging information"),
                   cl::values(
   clEnumVal(None      , "disable debug output"),
@@ -426,7 +426,7 @@
 // Print passes managed by this top level manager.
 void PMTopLevelManager::dumpPasses() const {
 
-  if (PassDebugging_New < Structure)
+  if (PassDebugging < Structure)
     return;
 
   // Print out the immutable passes
@@ -441,7 +441,7 @@
 
 void PMTopLevelManager::dumpArguments() const {
 
-  if (PassDebugging_New < Arguments)
+  if (PassDebugging < Arguments)
     return;
 
   cerr << "Pass Arguments: ";
@@ -704,7 +704,7 @@
 
 void PMDataManager:: dumpPassInfo(Pass *P,  std::string &Msg1, 
                                   std::string &Msg2) const {
-  if (PassDebugging_New < Executions)
+  if (PassDebugging < Executions)
     return;
   cerr << (void*)this << std::string(getDepth()*2+1, ' ');
   cerr << Msg1;
@@ -715,7 +715,7 @@
 void PMDataManager::dumpAnalysisSetInfo(const char *Msg, Pass *P,
                                         const std::vector<AnalysisID> &Set) 
   const {
-  if (PassDebugging_New >= Details && !Set.empty()) {
+  if (PassDebugging >= Details && !Set.empty()) {
     cerr << (void*)P << std::string(getDepth()*2+3, ' ') << Msg << " Analyses:";
       for (unsigned i = 0; i != Set.size(); ++i) {
         if (i) cerr << ",";






More information about the llvm-commits mailing list