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 /include | |
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 'include')
-rw-r--r-- | include/llvm/Target/COFFTargetAsmInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/Target/DarwinTargetAsmInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/Target/ELFTargetAsmInfo.h | 4 | ||||
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 6 |
4 files changed, 4 insertions, 10 deletions
diff --git a/include/llvm/Target/COFFTargetAsmInfo.h b/include/llvm/Target/COFFTargetAsmInfo.h index a035f2b..fd9fb45 100644 --- a/include/llvm/Target/COFFTargetAsmInfo.h +++ b/include/llvm/Target/COFFTargetAsmInfo.h @@ -15,7 +15,7 @@ namespace llvm { class COFFTargetAsmInfo : public TargetAsmInfo { protected: - explicit COFFTargetAsmInfo(const TargetMachine &TM); + explicit COFFTargetAsmInfo(); }; } diff --git a/include/llvm/Target/DarwinTargetAsmInfo.h b/include/llvm/Target/DarwinTargetAsmInfo.h index 99e4130..0834390 100644 --- a/include/llvm/Target/DarwinTargetAsmInfo.h +++ b/include/llvm/Target/DarwinTargetAsmInfo.h @@ -24,7 +24,7 @@ namespace llvm { class Mangler; struct DarwinTargetAsmInfo : public TargetAsmInfo { - explicit DarwinTargetAsmInfo(const TargetMachine &TM); + explicit DarwinTargetAsmInfo(); }; } diff --git a/include/llvm/Target/ELFTargetAsmInfo.h b/include/llvm/Target/ELFTargetAsmInfo.h index 1b141d5..46a88d5 100644 --- a/include/llvm/Target/ELFTargetAsmInfo.h +++ b/include/llvm/Target/ELFTargetAsmInfo.h @@ -19,9 +19,7 @@ namespace llvm { - struct ELFTargetAsmInfo : public TargetAsmInfo { - ELFTargetAsmInfo(const TargetMachine &TM); - }; + } diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 958a701..9d37d49 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -22,15 +22,11 @@ namespace llvm { template <typename T> class SmallVectorImpl; - class TargetMachine; /// TargetAsmInfo - This class is intended to be used as a base class for asm /// properties and features specific to the target. class TargetAsmInfo { protected: - /// TM - The current TargetMachine. - const TargetMachine &TM; - //===------------------------------------------------------------------===// // Properties to be set by the target writer, used to configure asm printer. // @@ -376,7 +372,7 @@ namespace llvm { const char *const *AsmTransCBE; // Defaults to empty public: - explicit TargetAsmInfo(const TargetMachine &TM); + explicit TargetAsmInfo(); virtual ~TargetAsmInfo(); /// Measure the specified inline asm to determine an approximation of its |