OSDN Git Service

Delete LoopPass::runOnFunctionBody. It was never used or implemented.
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 26 Jun 2009 20:42:50 +0000 (20:42 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 26 Jun 2009 20:42:50 +0000 (20:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74320 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopPass.h

index ca41e51..7659b5b 100644 (file)
@@ -34,9 +34,6 @@ public:
   // runOnLoop - This method should be implemented by the subclass to perform
   // whatever action is necessary for the specified Loop.
   virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
-  virtual bool runOnFunctionBody(Function &F, LPPassManager &LPM) {
-    return false;
-  }
 
   // Initialization and finalization hooks.
   virtual bool doInitialization(Loop *L, LPPassManager &LPM) {