diff options
author | Eric Christopher <echristo@gmail.com> | 2016-10-14 05:47:37 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2016-10-14 05:47:37 +0000 |
commit | 445c952bd0a3b35244476ba7ef9ff44b5483dfea (patch) | |
tree | 0fe105aeff7cb9bd6434e8ed59147df7183cadc3 /llvm/lib/CodeGen | |
parent | b2437da9688c2aa30f6a0a6c13d08b4245d5fce7 (diff) | |
download | bcm5719-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.cpp | 2 |
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 { |