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