aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
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/Sparc
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/Sparc')
-rw-r--r--lib/Target/Sparc/SparcTargetAsmInfo.cpp3
-rw-r--r--lib/Target/Sparc/SparcTargetAsmInfo.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/Sparc/SparcTargetAsmInfo.cpp b/lib/Target/Sparc/SparcTargetAsmInfo.cpp
index 0ceaf11..6c57792 100644
--- a/lib/Target/Sparc/SparcTargetAsmInfo.cpp
+++ b/lib/Target/Sparc/SparcTargetAsmInfo.cpp
@@ -15,8 +15,7 @@
#include "llvm/ADT/SmallVector.h"
using namespace llvm;
-SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const TargetMachine &TM)
- : ELFTargetAsmInfo(TM) {
+SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const TargetMachine &TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
diff --git a/lib/Target/Sparc/SparcTargetAsmInfo.h b/lib/Target/Sparc/SparcTargetAsmInfo.h
index ae646c3..4c1266a 100644
--- a/lib/Target/Sparc/SparcTargetAsmInfo.h
+++ b/lib/Target/Sparc/SparcTargetAsmInfo.h
@@ -14,14 +14,14 @@
#ifndef SPARCTARGETASMINFO_H
#define SPARCTARGETASMINFO_H
-#include "llvm/Target/ELFTargetAsmInfo.h"
+#include "llvm/Target/TargetAsmInfo.h"
namespace llvm {
// Forward declaration.
class TargetMachine;
- struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
+ struct SparcELFTargetAsmInfo : public TargetAsmInfo {
explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
};