[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopPass.h

Devang Patel dpatel at apple.com
Mon Mar 5 18:31:07 PST 2007



Changes in directory llvm/include/llvm/Analysis:

LoopPass.h updated: 1.7 -> 1.8
---
Log message:

Use std::deque to manage loop queue inside LPPassManager.


---
Diffs of the changes:  (+1 -3)

 LoopPass.h |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


Index: llvm/include/llvm/Analysis/LoopPass.h
diff -u llvm/include/llvm/Analysis/LoopPass.h:1.7 llvm/include/llvm/Analysis/LoopPass.h:1.8
--- llvm/include/llvm/Analysis/LoopPass.h:1.7	Tue Feb 27 09:00:39 2007
+++ llvm/include/llvm/Analysis/LoopPass.h	Mon Mar  5 20:30:46 2007
@@ -25,7 +25,6 @@
 class LPPassManager;
 class Loop;
 class Function;
-class LoopQueue;
 
 class LoopPass : public Pass {
 
@@ -47,7 +46,6 @@
 
 public:
   LPPassManager(int Depth);
-  ~LPPassManager();
 
   /// run - Execute all of the passes scheduled for execution.  Keep track of
   /// whether any of the passes modifies the module, and if so, return true.
@@ -95,7 +93,7 @@
   // utility may send LPPassManager into infinite loops so use caution.
   void redoLoop(Loop *L);
 private:
-  LoopQueue *LQ;
+  std::deque<Loop *> LQ;
   bool skipThisLoop;
   bool redoThisLoop;
 };






More information about the llvm-commits mailing list