aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 742997a..1de31bb 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/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) {