diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
commit | 7b26fce23e5f733d1a614beae71d0499e78aeab1 (patch) | |
tree | c952f7380295ff3ba73e21eff6c90dafd9cfdf85 /llvm/lib/MC/MCSectionELF.cpp | |
parent | 259717287abf3ec138f6c149cbe7703315848d43 (diff) | |
download | llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.zip llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.tar.gz llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.tar.bz2 |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
llvm-svn: 79763
Diffstat (limited to 'llvm/lib/MC/MCSectionELF.cpp')
-rw-r--r-- | llvm/lib/MC/MCSectionELF.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCSectionELF.cpp b/llvm/lib/MC/MCSectionELF.cpp index fe0fcb3..96f8429 100644 --- a/llvm/lib/MC/MCSectionELF.cpp +++ b/llvm/lib/MC/MCSectionELF.cpp @@ -10,7 +10,7 @@ #include "llvm/MC/MCSectionELF.h" #include "llvm/MC/MCContext.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" using namespace llvm; @@ -23,7 +23,7 @@ Create(const StringRef &Section, unsigned Type, unsigned Flags, // ShouldOmitSectionDirective - Decides whether a '.section' directive // should be printed before the section name bool MCSectionELF::ShouldOmitSectionDirective(const char *Name, - const TargetAsmInfo &TAI) const { + const MCAsmInfo &TAI) const { // FIXME: Does .section .bss/.data/.text work everywhere?? if (strcmp(Name, ".text") == 0 || @@ -44,7 +44,7 @@ bool MCSectionELF::ShouldPrintSectionType(unsigned Ty) const { return true; } -void MCSectionELF::PrintSwitchToSection(const TargetAsmInfo &TAI, +void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &TAI, raw_ostream &OS) const { if (ShouldOmitSectionDirective(SectionName.c_str(), TAI)) { |