From: David Blaikie Date: Thu, 16 Mar 2017 00:43:19 +0000 (+0000) Subject: Simplify/make more explicit (by making less explicit in some ways) some function... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e54c56c2fbf9a456a484c93904789c83b5c3f40;p=llvm Simplify/make more explicit (by making less explicit in some ways) some function calls git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297921 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp index 0c786b2d0e9..de0791281d2 100644 --- a/lib/MC/MCELFStreamer.cpp +++ b/lib/MC/MCELFStreamer.cpp @@ -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()); } diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index 2001e3e3aea..1e9ef416325 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -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(Section); StringRef SegName = MSec.getSegmentName(); if (SegName == "__DWARF")