summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2015-05-28 18:18:21 +0000
committerChad Rosier <mcrosier@codeaurora.org>2015-05-28 18:18:21 +0000
commitadc06311babfb81a51c6cf0b98b38ca3df2889d0 (patch)
treec89022822bdb1b5f93de7061e7b823c4f7b24480 /llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
parent34683d10bf1bef61882101413a855c12062be24b (diff)
downloadbcm5719-llvm-adc06311babfb81a51c6cf0b98b38ca3df2889d0.tar.gz
bcm5719-llvm-adc06311babfb81a51c6cf0b98b38ca3df2889d0.zip
Reuse Loc variable. NFC.
llvm-svn: 238448
Diffstat (limited to 'llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
index 38d34e65a2e..e3bdb820138 100644
--- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -4021,7 +4021,7 @@ bool AArch64AsmParser::ParseDirective(AsmToken DirectiveID) {
if (IDVal == ".ltorg" || IDVal == ".pool")
return parseDirectiveLtorg(Loc);
if (IDVal == ".unreq")
- return parseDirectiveUnreq(DirectiveID.getLoc());
+ return parseDirectiveUnreq(Loc);
if (!IsMachO && !IsCOFF) {
if (IDVal == ".inst")
OpenPOWER on IntegriCloud