summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-03-16 00:43:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-03-16 00:43:19 +0000
commit618d3429f24011c85faa329df8e60ee1168b8edc (patch)
tree6b8d774d3ddb7692a37f5468b94af5326a06333a
parentddebad956e55f3f335f7f1e338edd277ab5404d7 (diff)
downloadbcm5719-llvm-618d3429f24011c85faa329df8e60ee1168b8edc.tar.gz
bcm5719-llvm-618d3429f24011c85faa329df8e60ee1168b8edc.zip
Simplify/make more explicit (by making less explicit in some ways) some function calls
llvm-svn: 297921
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index 0c786b2d0e9..de0791281d2 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/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/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp
index 2001e3e3aea..1e9ef416325 100644
--- a/llvm/lib/MC/MCMachOStreamer.cpp
+++ b/llvm/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<MCSectionMachO>(Section);
StringRef SegName = MSec.getSegmentName();
if (SegName == "__DWARF")
OpenPOWER on IntegriCloud