Author: djg
Date: Wed Aug  1 09:28:20 2007
New Revision: 40671

URL: http://llvm.org/viewvc/llvm-project?rev=40671&view=rev
Log:
Make ImmutablePass::runOnModule non-virtual, since it is not
intended to be overridden.

Modified:
    llvm/trunk/include/llvm/Pass.h

Modified: llvm/trunk/include/llvm/Pass.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Pass.h?rev=40671&r1=40670&r2=40671&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Pass.h (original)
+++ llvm/trunk/include/llvm/Pass.h Wed Aug  1 09:28:20 2007
@@ -262,7 +262,7 @@
 
   /// ImmutablePasses are never run.
   ///
-  virtual bool runOnModule(Module &M) { return false; }
+  bool runOnModule(Module &M) { return false; }
 
   explicit ImmutablePass(intptr_t pid) : ModulePass(pid) {}
   // Force out-of-line virtual method.


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to