Skip to content

Commit

Permalink
Simplify/make more explicit (by making less explicit in some ways) so…
Browse files Browse the repository at this point in the history
…me function calls

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297921 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dwblaikie committed Mar 16, 2017
1 parent 731cac0 commit 1e54c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/MC/MCELFStreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down
2 changes: 1 addition & 1 deletion lib/MC/MCMachOStreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1e54c56

Please sign in to comment.