summaryrefslogtreecommitdiff
path: root/include
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
commitea37eb55ee92cd632ec46abee32348ef39cd8a32 (patch)
tree57a3403c6bbdc03b4d3738f5a88b00a6b639f944 /include
parent2b02b43eb81e5dbbf81238f6fd705405e7f6b2d8 (diff)
Revive dead assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h
index 90b95bf7cfd..3875f0b4a0f 100644
--- a/include/llvm/Support/CFG.h
+++ b/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) {