From: Mandeep Singh Grang Date: Fri, 1 Feb 2019 23:42:34 +0000 (+0000) Subject: [AArch64] Fix unused variable [NFC] X-Git-Tag: llvmorg-10-init~12994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc1e778369f14d909d15f599fdb2301179abb30c;p=platform%2Fupstream%2Fllvm.git [AArch64] Fix unused variable [NFC] llvm-svn: 352940 --- diff --git a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp index bce9df8..446e192 100644 --- a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp +++ b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp @@ -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");