aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-01 20:14:47 +0000
committerChris Lattner <sabre@nondot.org>2006-12-01 20:14:47 +0000
commit102e2d3c82e3671cdabbfed9012792cd1bb3493a (patch)
treeda9f139a57140fe2926f646e05a679a47d0bc4bd
parent9dec3a2c0ca8d59e50ffbf1c97b171c7d5f2d6ec (diff)
downloadexternal_llvm-102e2d3c82e3671cdabbfed9012792cd1bb3493a.zip
external_llvm-102e2d3c82e3671cdabbfed9012792cd1bb3493a.tar.gz
external_llvm-102e2d3c82e3671cdabbfed9012792cd1bb3493a.tar.bz2
Remove dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32088 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/PassSupport.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h
index 4921848..f3cfc3f 100644
--- a/include/llvm/PassSupport.h
+++ b/include/llvm/PassSupport.h
@@ -184,28 +184,6 @@ struct RegisterPass : public RegisterPassBase {
callDefaultCtor<PassName>) {
if (CFGOnly) setOnlyUsesCFG();
}
-
- // Register Pass using default constructor explicitly...
- RegisterPass(const char *PassArg, const char *Name,
- Pass *(*ctor)(), bool CFGOnly = false)
- : RegisterPassBase(Name, PassArg, typeid(PassName), ctor) {
- if (CFGOnly) setOnlyUsesCFG();
- }
-
- // Register Pass using TargetMachine constructor...
- RegisterPass(const char *PassArg, const char *Name,
- Pass *(*targetctor)(TargetMachine &), bool CFGOnly = false)
- : RegisterPassBase(Name, PassArg, typeid(PassName), 0, targetctor) {
- if (CFGOnly) setOnlyUsesCFG();
- }
-
- // Generic constructor version that has an unknown ctor type...
- template<typename CtorType>
- RegisterPass(const char *PassArg, const char *Name, CtorType *Fn,
- bool CFGOnly = false)
- : RegisterPassBase(Name, PassArg, typeid(PassName), 0) {
- if (CFGOnly) setOnlyUsesCFG();
- }
};