aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-15 17:47:13 +0000
committerChris Lattner <sabre@nondot.org>2001-10-15 17:47:13 +0000
commit2db4b72017a41017a5a7d412fa32b4fbaa5d210c (patch)
tree7bfd4a083874761e258fbf1de2173c92b600942a /tools
parent25c12299307a640ff847ae4dfa58257d07e47230 (diff)
downloadexternal_llvm-2db4b72017a41017a5a7d412fa32b4fbaa5d210c.zip
external_llvm-2db4b72017a41017a5a7d412fa32b4fbaa5d210c.tar.gz
external_llvm-2db4b72017a41017a5a7d412fa32b4fbaa5d210c.tar.bz2
ConcretePass should not be a templated class!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 30777b0..04ae468 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -52,7 +52,7 @@ static inline string GetFileNameRoot(const string &InputFilename) {
// Native code generation for a specified target.
//===---------------------------------------------------------------------===//
-class GenerateCodeForTarget : public ConcretePass<GenerateCodeForTarget> {
+class GenerateCodeForTarget : public ConcretePass {
TargetMachine &Target;
public:
inline GenerateCodeForTarget(TargetMachine &T) : Target(T) {}
@@ -77,7 +77,7 @@ public:
// Write assembly code to specified output stream
//===---------------------------------------------------------------------===//
-class EmitAssembly : public ConcretePass<EmitAssembly> {
+class EmitAssembly : public ConcretePass {
const TargetMachine &Target; // Target to compile for
ostream *Out; // Stream to print on
bool DeleteStream; // Delete stream in dtor?