From c84bf99f58f5053e220739f2031a23c7264d3aa3 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 11 May 2009 18:40:35 +0000 Subject: Eliminate a compiler warning. llvm-svn: 71456 --- llvm/lib/CodeGen/StackSlotColoring.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp') 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 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; -- cgit v1.2.3