mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Eliminate a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e3fdf2c0f
commit
ec51b58b1c
@ -599,6 +599,7 @@ void StackSlotColoring::UnfoldAndRewriteInstruction(MachineInstr *MI, int OldFI,
|
|||||||
} else {
|
} else {
|
||||||
SmallVector<MachineInstr*, 4> NewMIs;
|
SmallVector<MachineInstr*, 4> NewMIs;
|
||||||
bool Success = TII->unfoldMemoryOperand(MF, MI, Reg, false, false, NewMIs);
|
bool Success = TII->unfoldMemoryOperand(MF, MI, Reg, false, false, NewMIs);
|
||||||
|
Success = Success; // Silence compiler warning.
|
||||||
assert(Success && "Failed to unfold!");
|
assert(Success && "Failed to unfold!");
|
||||||
MBB->insert(MI, NewMIs[0]);
|
MBB->insert(MI, NewMIs[0]);
|
||||||
++NumRegRepl;
|
++NumRegRepl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user