diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:42:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:42:09 +0000 |
commit | 71a56d75b4c7b7178f81b367d44e93d5623923d0 (patch) | |
tree | 2f598057d4e06904582cbbecb4be7703bc3996bf | |
parent | 3878bff390c04ce3e4e1758828926981a9f5fde7 (diff) | |
download | external_llvm-71a56d75b4c7b7178f81b367d44e93d5623923d0.zip external_llvm-71a56d75b4c7b7178f81b367d44e93d5623923d0.tar.gz external_llvm-71a56d75b4c7b7178f81b367d44e93d5623923d0.tar.bz2 |
xcore TAI doesn't need TM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77868 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/XCore/XCoreTargetAsmInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/XCore/XCoreTargetAsmInfo.h | 3 | ||||
-rw-r--r-- | lib/Target/XCore/XCoreTargetMachine.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/XCore/XCoreTargetAsmInfo.cpp b/lib/Target/XCore/XCoreTargetAsmInfo.cpp index 6f2dbbb..a5bc6c2 100644 --- a/lib/Target/XCore/XCoreTargetAsmInfo.cpp +++ b/lib/Target/XCore/XCoreTargetAsmInfo.cpp @@ -10,7 +10,7 @@ #include "XCoreTargetAsmInfo.h" using namespace llvm; -XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM) { +XCoreTargetAsmInfo::XCoreTargetAsmInfo() { SupportsDebugInformation = true; Data16bitsDirective = "\t.short\t"; Data32bitsDirective = "\t.long\t"; diff --git a/lib/Target/XCore/XCoreTargetAsmInfo.h b/lib/Target/XCore/XCoreTargetAsmInfo.h index d1ceb3f..c4f71e4 100644 --- a/lib/Target/XCore/XCoreTargetAsmInfo.h +++ b/lib/Target/XCore/XCoreTargetAsmInfo.h @@ -17,10 +17,9 @@ #include "llvm/Target/TargetAsmInfo.h" namespace llvm { - class TargetMachine; class XCoreTargetAsmInfo : public TargetAsmInfo { public: - explicit XCoreTargetAsmInfo(const TargetMachine &TM); + explicit XCoreTargetAsmInfo(); }; } // namespace llvm diff --git a/lib/Target/XCore/XCoreTargetMachine.cpp b/lib/Target/XCore/XCoreTargetMachine.cpp index faea960..eac8ca1 100644 --- a/lib/Target/XCore/XCoreTargetMachine.cpp +++ b/lib/Target/XCore/XCoreTargetMachine.cpp @@ -18,7 +18,7 @@ using namespace llvm; const TargetAsmInfo *XCoreTargetMachine::createTargetAsmInfo() const { - return new XCoreTargetAsmInfo(*this); + return new XCoreTargetAsmInfo(); } /// XCoreTargetMachine ctor - Create an ILP32 architecture model |