From: Mandeep Singh Grang Date: Fri, 1 Feb 2019 23:42:34 +0000 (+0000) Subject: [AArch64] Fix unused variable [NFC] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5121e44428abaf1a183beafd07f282a8efa5e870;p=llvm [AArch64] Fix unused variable [NFC] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352940 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64FrameLowering.cpp b/lib/Target/AArch64/AArch64FrameLowering.cpp index bce9df84f15..446e1928d26 100644 --- a/lib/Target/AArch64/AArch64FrameLowering.cpp +++ b/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");