Eliminate a compiler warning.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 11 May 2009 18:40:35 +0000 (18:40 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 11 May 2009 18:40:35 +0000 (18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71456 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/StackSlotColoring.cpp

index 18fe59f3b720546e07cf1a908d967e9ed8742e5d..6caccf6551abf9d5862e074883e22aef8b67e5f7 100644 (file)
@@ -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;