[llvm-commits] [llvm] r116156 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Oct 9 09:36:44 PDT 2010
Author: d0k
Date: Sat Oct 9 11:36:44 2010
New Revision: 116156
URL: http://llvm.org/viewvc/llvm-project?rev=116156&view=rev
Log:
Silence compiler warning.
Modified:
llvm/trunk/lib/CodeGen/LiveInterval.cpp
Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveInterval.cpp?rev=116156&r1=116155&r2=116156&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveInterval.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveInterval.cpp Sat Oct 9 11:36:44 2010
@@ -780,7 +780,7 @@
++J;
for (LiveInterval::iterator I = J; I != E; ++I) {
if (unsigned eq = eqClass_[I->valno->id]) {
- assert(LIV[eq]->empty() || LIV[eq]->expiredAt(I->start) &&
+ assert((LIV[eq]->empty() || LIV[eq]->expiredAt(I->start)) &&
"New intervals should be empty");
LIV[eq]->ranges.push_back(*I);
} else
More information about the llvm-commits
mailing list