diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-04 20:09:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-04 20:09:41 +0000 |
| commit | 16dc0cd8a23ae0e44a6963a77e5c2ead873ff83c (patch) | |
| tree | d0a9bb5e4e98a454d9f66ae3e8831c55fa2b4398 /llvm/lib | |
| parent | f465f06aa4fb501bf5f4b3130e411f0a591953ae (diff) | |
| download | bcm5719-llvm-16dc0cd8a23ae0e44a6963a77e5c2ead873ff83c.tar.gz bcm5719-llvm-16dc0cd8a23ae0e44a6963a77e5c2ead873ff83c.zip | |
rip out SectionEndDirectiveSuffix support, only uses by
the masm backend. If anyone cares about masm in the future,
we'll have semantic sections it can hang off of.
llvm-svn: 78096
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Target/TargetAsmInfo.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 742997aaaa5..1de31bbc795 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -90,10 +90,6 @@ void AsmPrinter::SwitchToSection(const MCSection *NS) { // If we're already in this section, we're done. if (CurrentSection == NS) return; - // Close the current section, if applicable. - if (NS != 0 && TAI->getSectionEndDirectiveSuffix()) - O << NS->getName() << TAI->getSectionEndDirectiveSuffix() << '\n'; - CurrentSection = NS; if (NS != 0) { diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp index 921bf20064d..5be769319bd 100644 --- a/llvm/lib/Target/TargetAsmInfo.cpp +++ b/llvm/lib/Target/TargetAsmInfo.cpp @@ -57,7 +57,6 @@ TargetAsmInfo::TargetAsmInfo() { SwitchToSectionDirective = "\t.section\t"; TextSectionStartSuffix = ""; DataSectionStartSuffix = ""; - SectionEndDirectiveSuffix = 0; JumpTableDirective = 0; GlobalDirective = "\t.globl\t"; SetDirective = 0; diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index 761156759f3..3a5772c19ef 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -134,7 +134,6 @@ X86WinTargetAsmInfo::X86WinTargetAsmInfo(const X86TargetMachine &TM): SwitchToSectionDirective = ""; TextSectionStartSuffix = "\tSEGMENT PARA 'CODE'"; DataSectionStartSuffix = "\tSEGMENT PARA 'DATA'"; - SectionEndDirectiveSuffix = "\tends\n"; } // Instantiate default implementation. |

