Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit 1bd6c62

Browse files
committed
Fix variable used only in assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223101 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 84c0f65 commit 1bd6c62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Target/X86/X86MCInstLower.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,9 @@ static void LowerSTATEPOINT(MCStreamer &OS, StackMaps &SM,
816816
assert(Is64Bit && "Statepoint currently only supports X86-64");
817817

818818
// We need to record the frame size for stack walking
819-
const MachineFunction* MF = MI.getParent()->getParent();
819+
const MachineFunction *MF = MI.getParent()->getParent();
820820
assert(MF && "can't find machine function?");
821+
(void)MF;
821822

822823
//
823824
// Emit call instruction

0 commit comments

Comments
 (0)