summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
committerDuncan Sands <baldrick@free.fr>2012-02-05 14:20:11 +0000
commit5b8a1db7ea6510a2589f710d50754599da742de9 (patch)
treeb0fc32da198a889ddd064c49ae7e8597bfe1eab4 /lib/CodeGen/MachineCSE.cpp
parent853066a32af39c4674d47713e64b8ed9859976f9 (diff)
downloadllvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.gz
llvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.bz2
llvm-5b8a1db7ea6510a2589f710d50754599da742de9.tar.xz
Persuade GCC that there is nothing worth warning about here (there isn't).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCSE.cpp')
-rw-r--r--lib/CodeGen/MachineCSE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineCSE.cpp b/lib/CodeGen/MachineCSE.cpp
index 0715f28ca1..9d46aaab8d 100644
--- a/lib/CodeGen/MachineCSE.cpp
+++ b/lib/CodeGen/MachineCSE.cpp
@@ -255,6 +255,7 @@ bool MachineCSE::PhysRegDefsReach(MachineInstr *CSMI, MachineInstr *MI,
if (I == EE) {
assert(CrossMBB && "Reaching end-of-MBB without finding MI?");
+ (void)CrossMBB;
CrossMBB = false;
NonLocal = true;
I = MBB->begin();