mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 21:53:56 +00:00
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:
parent
84c0f65446
commit
1bd6c6210f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user