From 16dc0cd8a23ae0e44a6963a77e5c2ead873ff83c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 4 Aug 2009 20:09:41 +0000 Subject: 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 --- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter') 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) { -- cgit v1.2.3