From: Evan Cheng Date: Mon, 11 May 2009 18:40:35 +0000 (+0000) Subject: Eliminate a compiler warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ec51b58b1c9b58087e74eff7717205f277e3013b;p=oota-llvm.git Eliminate a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71456 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 18fe59f3b72..6caccf6551a 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/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;