diff options
author | Devang Patel <dpatel@apple.com> | 2006-12-12 22:57:43 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-12-12 22:57:43 +0000 |
commit | 395ed739849a0507a2faae0829287c039c3589f8 (patch) | |
tree | 3a30be6af5b79d35f409595b6c1819ff0a000714 | |
parent | 1e1008a52e0382bfc8d51b72d5a15eb832ddcbb9 (diff) |
Initialize activeManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32506 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/PassManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 4d047205a3..867d9ae5fa 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -395,7 +395,9 @@ class PassManagerImpl_New : public Pass, public: - PassManagerImpl_New(int D) : PMDataManager(D) {} + PassManagerImpl_New(int D) : PMDataManager(D) { + activeManager = NULL; + } /// add - Add a pass to the queue of passes to run. This passes ownership of /// the Pass to the PassManager. When the PassManager is destroyed, the pass |