From: Benjamin Kramer Date: Sat, 16 Jan 2010 16:14:55 +0000 (+0000) Subject: Revive dead assert. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ea37eb55ee92cd632ec46abee32348ef39cd8a32;p=oota-llvm.git Revive dead assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93638 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {