From ec51b58b1c9b58087e74eff7717205f277e3013b Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 11 May 2009 18:40:35 +0000 Subject: [PATCH] Eliminate a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71456 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/StackSlotColoring.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1