]> granicus.if.org Git - llvm/commitdiff
[AArch64] Fix unused variable [NFC]
authorMandeep Singh Grang <mgrang@quicinc.com>
Fri, 1 Feb 2019 23:42:34 +0000 (23:42 +0000)
committerMandeep Singh Grang <mgrang@quicinc.com>
Fri, 1 Feb 2019 23:42:34 +0000 (23:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352940 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64FrameLowering.cpp

index bce9df84f1567e211d3526d22558b774574dab4f..446e1928d26ff6426edca339982374da1ca103ed 100644 (file)
@@ -1554,6 +1554,7 @@ int AArch64FrameLowering::resolveFrameIndexReference(const MachineFunction &MF,
         // Funclets access the locals contained in the parent's stack frame
         // via the frame pointer, so we have to use the FP in the parent
         // function.
+        (void) Subtarget;
         assert(
             Subtarget.isCallingConvWin64(MF.getFunction().getCallingConv()) &&
             "Funclets should only be present on Win64");