Changes in directory llvm/lib/VMCore:

PassManager.cpp updated: 1.40 -> 1.41
---
Log message:

Cosmetic markers to divide code in separate chunks.


---
Diffs of the changes:  (+13 -4)

 PassManager.cpp |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)


Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.40 
llvm/lib/VMCore/PassManager.cpp:1.41
--- llvm/lib/VMCore/PassManager.cpp:1.40        Thu Dec  7 13:33:53 2006
+++ llvm/lib/VMCore/PassManager.cpp     Thu Dec  7 13:39:39 2006
@@ -367,6 +367,7 @@
 
 } // End of llvm namespace
 
+//===----------------------------------------------------------------------===//
 // PMDataManager implementation
 
 /// Return true IFF pass P's required analysis set does not required new
@@ -470,7 +471,8 @@
   }
 }
 
-/// BasicBlockPassManager implementation
+//===----------------------------------------------------------------------===//
+// BasicBlockPassManager_New implementation
 
 /// Add pass P into PassVector and return true. If this pass is not
 /// manageable by this manager then return false.
@@ -519,7 +521,9 @@
   return getAnalysisPass(AID);
 }
 
+//===----------------------------------------------------------------------===//
 // FunctionPassManager_New implementation
+
 /// Create new Function pass manager
 FunctionPassManager_New::FunctionPassManager_New() {
   FPM = new FunctionPassManagerImpl_New();
@@ -567,10 +571,9 @@
   return FPM->doFinalization(*MP->getModule());
 }
 
+//===----------------------------------------------------------------------===//
 // FunctionPassManagerImpl_New implementation
 
-// FunctionPassManager
-
 /// Add pass P into the pass manager queue. If P is a BasicBlockPass then
 /// either use it into active basic block pass manager or create new basic
 /// block pass manager to handle pass P.
@@ -693,7 +696,7 @@
   return Changed;
 }
 
-
+//===----------------------------------------------------------------------===//
 // ModulePassManager implementation
 
 /// Add P into pass vector if it is manageble. If P is a FunctionPass
@@ -770,6 +773,9 @@
   return NULL;
 }
 
+//===----------------------------------------------------------------------===//
+// PassManagerImpl implementation
+
 /// Return true IFF AnalysisID AID is currently available.
 Pass *PassManagerImpl_New::getAnalysisPassFromManager(AnalysisID AID) {
 
@@ -854,6 +860,9 @@
   return Changed;
 }
 
+//===----------------------------------------------------------------------===//
+// PassManager implementation
+
 /// Create new pass manager
 PassManager_New::PassManager_New() {
   PM = new PassManagerImpl_New();



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to