[llvm-commits] [llvm] r93638 - /llvm/trunk/include/llvm/Support/CFG.h
Benjamin Kramer
benny.kra at googlemail.com
Sat Jan 16 08:14:55 PST 2010
Author: d0k
Date: Sat Jan 16 10:14:55 2010
New Revision: 93638
URL: http://llvm.org/viewvc/llvm-project?rev=93638&view=rev
Log:
Revive dead assert.
Modified:
llvm/trunk/include/llvm/Support/CFG.h
Modified: llvm/trunk/include/llvm/Support/CFG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CFG.h?rev=93638&r1=93637&r2=93638&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CFG.h (original)
+++ llvm/trunk/include/llvm/Support/CFG.h Sat Jan 16 10:14:55 2010
@@ -149,8 +149,8 @@
}
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) {
More information about the llvm-commits
mailing list