Fix variable used only in assertion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2014-12-02 01:09:56 +00:00
parent 84c0f65446
commit 1bd6c6210f

View File

@ -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