summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-01-16 16:14:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-01-16 16:14:55 +0000
commit41cab696fc775041f2fd35b3e54b0ef5ddce2bce (patch)
treea3cb3621671b7cfe68783b082e7b8be8875680f1
parentef6eb84da15e7894edcc0bae08161c5016d76f44 (diff)
downloadbcm5719-llvm-41cab696fc775041f2fd35b3e54b0ef5ddce2bce.tar.gz
bcm5719-llvm-41cab696fc775041f2fd35b3e54b0ef5ddce2bce.zip
Revive dead assert.
llvm-svn: 93638
-rw-r--r--llvm/include/llvm/Support/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CFG.h b/llvm/include/llvm/Support/CFG.h
index 90b95bf7cfd..3875f0b4a0f 100644
--- a/llvm/include/llvm/Support/CFG.h
+++ b/llvm/include/llvm/Support/CFG.h
@@ -149,8 +149,8 @@ public:
}
inline bool operator>(const _Self& x) const {
- return idx > x.idx;
assert(Term == x.Term && "Cannot compare iterators of different blocks!");
+ return idx > x.idx;
}
inline _Self& operator+=(int Right) {
OpenPOWER on IntegriCloud