summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
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
commitb25afe081c87d79458bd8a6b26a711a8b9f4fd0c (patch)
tree85c69ba3a42dfebe2f62b6d05f6eef443695c10e /llvm/lib/Target/ARM
parent44616ce31736622b157db9a04c5321660ae08614 (diff)
downloadbcm5719-llvm-b25afe081c87d79458bd8a6b26a711a8b9f4fd0c.tar.gz
bcm5719-llvm-b25afe081c87d79458bd8a6b26a711a8b9f4fd0c.zip
remove TargetAsmInfo::TM, which is now dead. The basic TAI class now
no longer depends on TM! llvm-svn: 77863
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp2
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index ac0f6107cc6..b88110242c8 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -56,7 +56,7 @@ ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo(const ARMBaseTargetMachine &TM):
}
ARMELFTargetAsmInfo::ARMELFTargetAsmInfo(const ARMBaseTargetMachine &TM):
- ARMTargetAsmInfo<ELFTargetAsmInfo>(TM) {
+ ARMTargetAsmInfo<TargetAsmInfo>(TM) {
Subtarget = &TM.getSubtarget<ARMSubtarget>();
NeedsSet = false;
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
index 2b0b11282fb..6eaa4d42fb1 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
@@ -26,7 +26,7 @@ namespace llvm {
template <class BaseTAI>
struct ARMTargetAsmInfo : public BaseTAI {
- explicit ARMTargetAsmInfo(const ARMBaseTargetMachine &TM) : BaseTAI(TM) {
+ explicit ARMTargetAsmInfo(const ARMBaseTargetMachine &TM) {
BaseTAI::AsmTransCBE = arm_asm_table;
BaseTAI::AlignmentIsInBytes = false;
@@ -51,7 +51,7 @@ namespace llvm {
explicit ARMDarwinTargetAsmInfo(const ARMBaseTargetMachine &TM);
};
- struct ARMELFTargetAsmInfo : public ARMTargetAsmInfo<ELFTargetAsmInfo> {
+ struct ARMELFTargetAsmInfo : public ARMTargetAsmInfo<TargetAsmInfo> {
explicit ARMELFTargetAsmInfo(const ARMBaseTargetMachine &TM);
};
OpenPOWER on IntegriCloud