[llvm] r238448 - Reuse Loc variable. NFC.

Chad Rosier mcrosier at codeaurora.org
Thu May 28 11:18:21 PDT 2015


Author: mcrosier
Date: Thu May 28 13:18:21 2015
New Revision: 238448

URL: http://llvm.org/viewvc/llvm-project?rev=238448&view=rev
Log:
Reuse Loc variable. NFC.

Modified:
    llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Modified: llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp?rev=238448&r1=238447&r2=238448&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp Thu May 28 13:18:21 2015
@@ -4021,7 +4021,7 @@ bool AArch64AsmParser::ParseDirective(As
   if (IDVal == ".ltorg" || IDVal == ".pool")
     return parseDirectiveLtorg(Loc);
   if (IDVal == ".unreq")
-    return parseDirectiveUnreq(DirectiveID.getLoc());
+    return parseDirectiveUnreq(Loc);
 
   if (!IsMachO && !IsCOFF) {
     if (IDVal == ".inst")





More information about the llvm-commits mailing list