[llvm-commits] CVS: llvm/include/llvm/PassSupport.h
Chris Lattner
sabre at nondot.org
Fri Dec 1 12:15:02 PST 2006
Changes in directory llvm/include/llvm:
PassSupport.h updated: 1.30 -> 1.31
---
Log message:
Remove dead methods
---
Diffs of the changes: (+0 -22)
PassSupport.h | 22 ----------------------
1 files changed, 22 deletions(-)
Index: llvm/include/llvm/PassSupport.h
diff -u llvm/include/llvm/PassSupport.h:1.30 llvm/include/llvm/PassSupport.h:1.31
--- llvm/include/llvm/PassSupport.h:1.30 Sun Aug 27 19:42:29 2006
+++ llvm/include/llvm/PassSupport.h Fri Dec 1 14:14:47 2006
@@ -184,28 +184,6 @@
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();
- }
};
More information about the llvm-commits
mailing list