OSDN Git Service

Simplify/make more explicit (by making less explicit in some ways) some function...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Mar 2017 00:43:19 +0000 (00:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Mar 2017 00:43:19 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297921 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCELFStreamer.cpp
lib/MC/MCMachOStreamer.cpp

index 0c786b2..de07912 100644 (file)
@@ -143,7 +143,7 @@ void MCELFStreamer::ChangeSection(MCSection *Section,
   if (Grp)
     Asm.registerSymbol(*Grp);
 
-  this->MCObjectStreamer::ChangeSection(Section, Subsection);
+  changeSectionImpl(Section, Subsection);
   Asm.registerSymbol(*Section->getBeginSymbol());
 }
 
index 2001e3e..1e9ef41 100644 (file)
@@ -142,7 +142,7 @@ static bool canGoAfterDWARF(const MCSectionMachO &MSec) {
 void MCMachOStreamer::ChangeSection(MCSection *Section,
                                     const MCExpr *Subsection) {
   // Change the section normally.
-  bool Created = MCObjectStreamer::changeSectionImpl(Section, Subsection);
+  bool Created = changeSectionImpl(Section, Subsection);
   const MCSectionMachO &MSec = *cast<MCSectionMachO>(Section);
   StringRef SegName = MSec.getSegmentName();
   if (SegName == "__DWARF")