Initialize activeManager.

llvm-svn: 32506
This commit is contained in:
Devang Patel 2006-12-12 22:57:43 +00:00
parent 5f945dd79e
commit ad6b7fe726
1 changed files with 3 additions and 1 deletions

View File

@ -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