[llvm-commits] [llvm] r43328 - /llvm/trunk/include/llvm/PassManager.h
Chris Lattner
sabre at nondot.org
Wed Oct 24 22:19:24 PDT 2007
Author: lattner
Date: Thu Oct 25 00:19:24 2007
New Revision: 43328
URL: http://llvm.org/viewvc/llvm-project?rev=43328&view=rev
Log:
remove unimplemented ctor, add some comments.
Modified:
llvm/trunk/include/llvm/PassManager.h
Modified: llvm/trunk/include/llvm/PassManager.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassManager.h?rev=43328&r1=43327&r2=43328&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassManager.h (original)
+++ llvm/trunk/include/llvm/PassManager.h Thu Oct 25 00:19:24 2007
@@ -31,7 +31,6 @@
/// PassManager manages ModulePassManagers
class PassManager {
-
public:
PassManager();
@@ -52,14 +51,14 @@
/// PassManagerImpl_New is the actual class. PassManager is just the
/// wraper to publish simple pass manager interface
PassManagerImpl *PM;
-
};
/// FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
class FunctionPassManager {
public:
+ /// FunctionPassManager ctor - This initializes the pass manager. It needs,
+ /// but does not take ownership of, the specified module provider.
explicit FunctionPassManager(ModuleProvider *P);
- FunctionPassManager();
~FunctionPassManager();
/// add - Add a pass to the queue of passes to run. This passes
@@ -82,8 +81,8 @@
/// doFinalization - Run all of the finalizers for the function passes.
///
bool doFinalization();
+
private:
-
FunctionPassManagerImpl *FPM;
ModuleProvider *MP;
};
More information about the llvm-commits
mailing list