diff options
author | Devang Patel <dpatel@apple.com> | 2007-03-06 02:30:46 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-03-06 02:30:46 +0000 |
commit | 30159729ad3f8dcd6615d5e8a049e5e3e93be423 (patch) | |
tree | 9132756d2c96dc9a68c8db4c724f627ee4014b79 /include | |
parent | fe613905b371ef7160968cdaabf6074cfa10f4a0 (diff) | |
download | external_llvm-30159729ad3f8dcd6615d5e8a049e5e3e93be423.zip external_llvm-30159729ad3f8dcd6615d5e8a049e5e3e93be423.tar.gz external_llvm-30159729ad3f8dcd6615d5e8a049e5e3e93be423.tar.bz2 |
Use std::deque to manage loop queue inside LPPassManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoopPass.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h index a231598..cf5611b 100644 --- a/include/llvm/Analysis/LoopPass.h +++ b/include/llvm/Analysis/LoopPass.h @@ -25,7 +25,6 @@ namespace llvm { class LPPassManager; class Loop; class Function; -class LoopQueue; class LoopPass : public Pass { @@ -47,7 +46,6 @@ class LPPassManager : public FunctionPass, public PMDataManager { 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 @@ public: // 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; }; |