projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4e3fdf2
)
Eliminate a compiler warning.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 11 May 2009 18:40:35 +0000
(18:40 +0000)
committer
Evan 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StackSlotColoring.cpp
b/lib/CodeGen/StackSlotColoring.cpp
index 18fe59f3b720546e07cf1a908d967e9ed8742e5d..6caccf6551abf9d5862e074883e22aef8b67e5f7 100644
(file)
--- a/
lib/CodeGen/StackSlotColoring.cpp
+++ b/
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;