From 1bd6c6210f4b63e5b97741b6646cc35f68ce9a77 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 2 Dec 2014 01:09:56 +0000 Subject: [PATCH] Fix variable used only in assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223101 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86MCInstLower.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 6a10916aa60..b853110fac3 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -816,8 +816,9 @@ static void LowerSTATEPOINT(MCStreamer &OS, StackMaps &SM, assert(Is64Bit && "Statepoint currently only supports X86-64"); // We need to record the frame size for stack walking - const MachineFunction* MF = MI.getParent()->getParent(); + const MachineFunction *MF = MI.getParent()->getParent(); assert(MF && "can't find machine function?"); + (void)MF; // // Emit call instruction