diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-05-11 18:40:35 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-05-11 18:40:35 +0000 |
commit | c84bf99f58f5053e220739f2031a23c7264d3aa3 (patch) | |
tree | d2f7eeffd3a8edf1693377422bad366c91432215 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | 9521cadff7f4f1ccc74989673d6b6a486982613c (diff) | |
download | bcm5719-llvm-c84bf99f58f5053e220739f2031a23c7264d3aa3.tar.gz bcm5719-llvm-c84bf99f58f5053e220739f2031a23c7264d3aa3.zip |
Eliminate a compiler warning.
llvm-svn: 71456
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackSlotColoring.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp index 18fe59f3b72..6caccf6551a 100644 --- a/llvm/lib/CodeGen/StackSlotColoring.cpp +++ b/llvm/lib/CodeGen/StackSlotColoring.cpp @@ -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; |