forked from OSchip/llvm-project
Fix a release+noasserts werror for unused variable.
This commit is contained in:
parent
eb81de2de4
commit
59a299cbb3
|
@ -696,8 +696,7 @@ void SIFrameLowering::emitPrologue(MachineFunction &MF,
|
|||
}
|
||||
|
||||
if (HasFPSaveIndex && SpillFPToMemory) {
|
||||
const int FI = FuncInfo->FramePointerSaveIndex.getValue();
|
||||
assert(!MFI.isDeadObjectIndex(FI));
|
||||
assert(!MFI.isDeadObjectIndex(FuncInfo->FramePointerSaveIndex.getValue()));
|
||||
|
||||
if (!ScratchExecCopy)
|
||||
ScratchExecCopy = buildScratchExecCopy(LiveRegs, MF, MBB, MBBI, true);
|
||||
|
|
Loading…
Reference in New Issue