From: Nick Lewycky Date: Tue, 2 Dec 2014 01:09:56 +0000 (+0000) Subject: Fix variable used only in assertion. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceb44dfd825c354fb57edfbbc1a2b4fdab8f06b0;p=platform%2Fupstream%2Fllvm.git Fix variable used only in assertion. llvm-svn: 223101 --- 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