From ea37eb55ee92cd632ec46abee32348ef39cd8a32 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 16 Jan 2010 16:14:55 +0000 Subject: [PATCH] Revive dead assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93638 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CFG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1