[llvm-commits] CVS: llvm/include/llvm/Pass.h

Devang Patel dpatel at apple.com
Thu Jan 25 16:23:16 PST 2007



Changes in directory llvm/include/llvm:

Pass.h updated: 1.78 -> 1.79
---
Log message:

Inherit FunctionPass directly from Pass.


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

 Pass.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.78 llvm/include/llvm/Pass.h:1.79
--- llvm/include/llvm/Pass.h:1.78	Thu Jan 25 17:23:25 2007
+++ llvm/include/llvm/Pass.h	Thu Jan 25 18:23:00 2007
@@ -247,7 +247,7 @@
 ///  2. Optimizing a function does not cause the addition or removal of any
 ///     functions in the module
 ///
-class FunctionPass : public ModulePass {
+class FunctionPass : public Pass {
 public:
   /// doInitialization - Virtual method overridden by subclasses to do
   /// any necessary per-module initialization.






More information about the llvm-commits mailing list