Eliminate a compiler warning.

llvm-svn: 71456
This commit is contained in:
Evan Cheng
2009-05-11 18:40:35 +00:00
parent 9521cadff7
commit c84bf99f58

View File

@@ -599,6 +599,7 @@ void StackSlotColoring::UnfoldAndRewriteInstruction(MachineInstr *MI, int OldFI,
} else {
SmallVector<MachineInstr*, 4> NewMIs;
bool Success = TII->unfoldMemoryOperand(MF, MI, Reg, false, false, NewMIs);
Success = Success; // Silence compiler warning.
assert(Success && "Failed to unfold!");
MBB->insert(MI, NewMIs[0]);
++NumRegRepl;