summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-10-14 05:47:37 +0000
committerEric Christopher <echristo@gmail.com>2016-10-14 05:47:37 +0000
commit445c952bd0a3b35244476ba7ef9ff44b5483dfea (patch)
tree0fe105aeff7cb9bd6434e8ed59147df7183cadc3 /llvm/lib/CodeGen
parentb2437da9688c2aa30f6a0a6c13d08b4245d5fce7 (diff)
downloadbcm5719-llvm-445c952bd0a3b35244476ba7ef9ff44b5483dfea.tar.gz
bcm5719-llvm-445c952bd0a3b35244476ba7ef9ff44b5483dfea.zip
Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help
readability a bit. llvm-svn: 284202
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index da5fca8e418..a4cd4d74c3d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -157,7 +157,7 @@ void AsmPrinter::EmitToStreamer(MCStreamer &S, const MCInst &Inst) {
/// getCurrentSection() - Return the current section we are emitting to.
const MCSection *AsmPrinter::getCurrentSection() const {
- return OutStreamer->getCurrentSection().first;
+ return OutStreamer->getCurrentSectionOnly();
}
void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
OpenPOWER on IntegriCloud