From ceb44dfd825c354fb57edfbbc1a2b4fdab8f06b0 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. llvm-svn: 223101 --- llvm/lib/Target/X86/X86MCInstLower.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp index 6a10916..b853110 100644 --- a/llvm/lib/Target/X86/X86MCInstLower.cpp +++ b/llvm/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 -- 2.7.4