[llvm] r223101 - Fix variable used only in assertion.
Nick Lewycky
nicholas at mxc.ca
Mon Dec 1 17:09:57 PST 2014
Author: nicholas
Date: Mon Dec 1 19:09:56 2014
New Revision: 223101
URL: http://llvm.org/viewvc/llvm-project?rev=223101&view=rev
Log:
Fix variable used only in assertion.
Modified:
llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=223101&r1=223100&r2=223101&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Mon Dec 1 19:09:56 2014
@@ -816,8 +816,9 @@ static void LowerSTATEPOINT(MCStreamer &
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
More information about the llvm-commits
mailing list