From: Nick Lewycky Date: Tue, 2 Dec 2014 01:09:56 +0000 (+0000) Subject: Fix variable used only in assertion. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bd6c6210f4b63e5b97741b6646cc35f68ce9a77;p=oota-llvm.git Fix variable used only in assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223101 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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