diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-15 17:47:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 17:47:13 +0000 |
commit | 8761d50df7ccde02403466c91c82c1dd2ce16773 (patch) | |
tree | 6dde0ed82aad7e1d44f40a056afef89c30e13746 /llvm/tools | |
parent | d0c15405afd4f21d61a47ee43c81bfda6a84a29e (diff) | |
download | bcm5719-llvm-8761d50df7ccde02403466c91c82c1dd2ce16773.tar.gz bcm5719-llvm-8761d50df7ccde02403466c91c82c1dd2ce16773.zip |
ConcretePass should not be a templated class!
llvm-svn: 838
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llc/llc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 30777b02df2..04ae4686867 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/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? |