diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:27:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 04:27:24 +0000 |
commit | 8d4a0a328a89d1f3c7ad83048e04ace53b6ba781 (patch) | |
tree | b8f9dc1197a025c8faae38312d3a15d853a7544d /lib/Target/MSP430 | |
parent | 83f08a2efdbe18e1eba866a25aa7e37c555de4c1 (diff) | |
download | external_llvm-8d4a0a328a89d1f3c7ad83048e04ace53b6ba781.zip external_llvm-8d4a0a328a89d1f3c7ad83048e04ace53b6ba781.tar.gz external_llvm-8d4a0a328a89d1f3c7ad83048e04ace53b6ba781.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/MSP430')
-rw-r--r-- | lib/Target/MSP430/MSP430TargetAsmInfo.cpp | 3 | ||||
-rw-r--r-- | lib/Target/MSP430/MSP430TargetAsmInfo.h | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/MSP430/MSP430TargetAsmInfo.cpp b/lib/Target/MSP430/MSP430TargetAsmInfo.cpp index 43a521d..8f9f1a2 100644 --- a/lib/Target/MSP430/MSP430TargetAsmInfo.cpp +++ b/lib/Target/MSP430/MSP430TargetAsmInfo.cpp @@ -14,7 +14,6 @@ #include "MSP430TargetAsmInfo.h" using namespace llvm; -MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) - : ELFTargetAsmInfo(TM) { +MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM) { AlignmentIsInBytes = false; } diff --git a/lib/Target/MSP430/MSP430TargetAsmInfo.h b/lib/Target/MSP430/MSP430TargetAsmInfo.h index 93ed04f..d6a20fb 100644 --- a/lib/Target/MSP430/MSP430TargetAsmInfo.h +++ b/lib/Target/MSP430/MSP430TargetAsmInfo.h @@ -14,10 +14,11 @@ #ifndef MSP430TARGETASMINFO_H #define MSP430TARGETASMINFO_H -#include "llvm/Target/ELFTargetAsmInfo.h" +#include "llvm/Target/TargetAsmInfo.h" namespace llvm { - struct MSP430TargetAsmInfo : public ELFTargetAsmInfo { + class TargetMachine; + struct MSP430TargetAsmInfo : public TargetAsmInfo { explicit MSP430TargetAsmInfo(const TargetMachine &TM); }; |