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 | f9c1ccf28020add0b3e1d633684debf3e3dc294f (patch) | |
| tree | f5db4a65c1b758838be583d64d638c202ec841df /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
| parent | efb8e3e113cbf359d6a838c3b37fedc8305d19bb (diff) | |
| download | external_llvm-f9c1ccf28020add0b3e1d633684debf3e3dc294f.zip external_llvm-f9c1ccf28020add0b3e1d633684debf3e3dc294f.tar.gz external_llvm-f9c1ccf28020add0b3e1d633684debf3e3dc294f.tar.bz2 | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
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) { |
