summaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-28 22:49:49 +0000
committerChris Lattner <sabre@nondot.org>2002-03-28 22:49:49 +0000
commit21ba3fec994fefad527befeabe586ad19e79cb6c (patch)
tree8dd443af457bb3a77309442a63389b245d542bf5 /lib/VMCore/Module.cpp
parent4dc1f82e7e8ffe60716a8dbab2f5d8fdb288bced (diff)
downloadexternal_llvm-21ba3fec994fefad527befeabe586ad19e79cb6c.zip
external_llvm-21ba3fec994fefad527befeabe586ad19e79cb6c.tar.gz
external_llvm-21ba3fec994fefad527befeabe586ad19e79cb6c.tar.bz2
Remove the reduceApply functions they are obsolete things from the days before
we had a reasonable pass system git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r--lib/VMCore/Module.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp
index 06c25d3..144c6f3 100644
--- a/lib/VMCore/Module.cpp
+++ b/lib/VMCore/Module.cpp
@@ -71,22 +71,6 @@ void Module::dropAllReferences() {
}
}
-// reduceApply - Apply the specified function to all of the methods in this
-// module. The result values are or'd together and the result is returned.
-//
-bool Module::reduceApply(bool (*Func)(GlobalVariable*)) {
- return reduce_apply_bool(gbegin(), gend(), Func);
-}
-bool Module::reduceApply(bool (*Func)(const GlobalVariable*)) const {
- return reduce_apply_bool(gbegin(), gend(), Func);
-}
-bool Module::reduceApply(bool (*Func)(Function*)) {
- return reduce_apply_bool(begin(), end(), Func);
-}
-bool Module::reduceApply(bool (*Func)(const Function*)) const {
- return reduce_apply_bool(begin(), end(), Func);
-}
-
// Accessor for the underlying GlobalValRefMap...
ConstantPointerRef *Module::getConstantPointerRef(GlobalValue *V){
// Create ref map lazily on demand...