summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-11 20:28:16 +0000
committerDan Gohman <gohman@apple.com>2010-08-11 20:28:16 +0000
commitfa5c2a67c38da929ef98c2a814fbac93404fb814 (patch)
treea26085fb59417b29c1d416b19b1965b89f04be5c /include/llvm/Pass.h
parentec1355b17bbccfb52d69e84b1f2a865d17359e2f (diff)
downloadllvm-fa5c2a67c38da929ef98c2a814fbac93404fb814.tar.gz
llvm-fa5c2a67c38da929ef98c2a814fbac93404fb814.tar.bz2
llvm-fa5c2a67c38da929ef98c2a814fbac93404fb814.tar.xz
Remove BasicBlockPass::runOnFunction, which was unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index f58efc2bb6..f4c6eed2cf 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -346,12 +346,6 @@ public:
///
virtual bool doFinalization(Module &);
-
- // To run this pass on a function, we simply call runOnBasicBlock once for
- // each function.
- //
- bool runOnFunction(Function &F);
-
virtual void assignPassManager(PMStack &PMS,
PassManagerType T);