Simplify/make more explicit (by making less explicit in some ways) some function calls

llvm-svn: 297921
This commit is contained in:
David Blaikie 2017-03-16 00:43:19 +00:00
parent ddebad956e
commit 618d3429f2
2 changed files with 2 additions and 2 deletions

View 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());
}

View 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")