aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 04:27:24 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 04:27:24 +0000
commit7dd4ffc0a889f3c4ee0c3454ea37502466955293 (patch)
treeb8f9dc1197a025c8faae38312d3a15d853a7544d /lib/Target/XCore
parentf63b4613c26017aea013eb828f054fc2c304cb5f (diff)
downloadexternal_llvm-7dd4ffc0a889f3c4ee0c3454ea37502466955293.zip
external_llvm-7dd4ffc0a889f3c4ee0c3454ea37502466955293.tar.gz
external_llvm-7dd4ffc0a889f3c4ee0c3454ea37502466955293.tar.bz2
remove TargetAsmInfo::TM, which is now dead. The basic TAI class now
no longer depends on TM! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore')
-rw-r--r--lib/Target/XCore/XCoreTargetAsmInfo.cpp3
-rw-r--r--lib/Target/XCore/XCoreTargetAsmInfo.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/XCore/XCoreTargetAsmInfo.cpp b/lib/Target/XCore/XCoreTargetAsmInfo.cpp
index 48502d0..6f2dbbb 100644
--- a/lib/Target/XCore/XCoreTargetAsmInfo.cpp
+++ b/lib/Target/XCore/XCoreTargetAsmInfo.cpp
@@ -10,8 +10,7 @@
#include "XCoreTargetAsmInfo.h"
using namespace llvm;
-XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM)
- : ELFTargetAsmInfo(TM) {
+XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM) {
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 f220815..d1ceb3f 100644
--- a/lib/Target/XCore/XCoreTargetAsmInfo.h
+++ b/lib/Target/XCore/XCoreTargetAsmInfo.h
@@ -14,11 +14,11 @@
#ifndef XCORETARGETASMINFO_H
#define XCORETARGETASMINFO_H
-#include "llvm/Target/ELFTargetAsmInfo.h"
+#include "llvm/Target/TargetAsmInfo.h"
namespace llvm {
-
- class XCoreTargetAsmInfo : public ELFTargetAsmInfo {
+ class TargetMachine;
+ class XCoreTargetAsmInfo : public TargetAsmInfo {
public:
explicit XCoreTargetAsmInfo(const TargetMachine &TM);
};