mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +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…
Reference in New Issue
Block a user