Reuse Loc variable. NFC.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 28 May 2015 18:18:21 +0000 (18:18 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 28 May 2015 18:18:21 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238448 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

index 38d34e65a2e464b8eee4f8032e18eb92fe52585b..e3bdb820138c99de77c3f9fe2c696380620a4ac0 100644 (file)
@@ -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")