Fix variable used only in assertion.

llvm-svn: 223101
This commit is contained in:
Nick Lewycky 2014-12-02 01:09:56 +00:00
parent c2f9ea7847
commit ceb44dfd82
1 changed files with 2 additions and 1 deletions

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