[llvm-commits] [llvm] r71456 - /llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
Evan Cheng
evan.cheng at apple.com
Mon May 11 11:40:38 PDT 2009
Author: evancheng
Date: Mon May 11 13:40:35 2009
New Revision: 71456
URL: http://llvm.org/viewvc/llvm-project?rev=71456&view=rev
Log:
Eliminate a compiler warning.
Modified:
llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
Modified: llvm/trunk/lib/CodeGen/StackSlotColoring.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackSlotColoring.cpp?rev=71456&r1=71455&r2=71456&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackSlotColoring.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackSlotColoring.cpp Mon May 11 13:40:35 2009
@@ -599,6 +599,7 @@
} 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;
More information about the llvm-commits
mailing list