summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-10-09 16:36:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-10-09 16:36:44 +0000
commitd84bb168cc16dc208940377098f02afe1ab92813 (patch)
tree62f6ed5cdfd7387af525d1cf1c7da4475e3ea0d6 /llvm/lib/CodeGen
parenta6a984bd966df5480667b4b3eec26fd7c52ba1b6 (diff)
downloadbcm5719-llvm-d84bb168cc16dc208940377098f02afe1ab92813.tar.gz
bcm5719-llvm-d84bb168cc16dc208940377098f02afe1ab92813.zip
Silence compiler warning.
llvm-svn: 116156
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 8afa9ffa8a5..6fb60362be6 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud