From: Benjamin Kramer Date: Sat, 9 Oct 2010 16:36:44 +0000 (+0000) Subject: Silence compiler warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ccefe32141c96faa05445bce0b26f1acd8bdc1b8;p=oota-llvm.git Silence compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116156 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 8afa9ffa8a5..6fb60362be6 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -780,7 +780,7 @@ void ConnectedVNInfoEqClasses::Distribute(LiveInterval *LIV[]) { ++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