projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b02b43
)
Revive dead assert.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 16 Jan 2010 16:14:55 +0000
(16:14 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 16 Jan 2010 16:14:55 +0000
(16:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93638
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CFG.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CFG.h
b/include/llvm/Support/CFG.h
index 90b95bf7cfd76ee50bee44ccab9d07d1ac58fcec..3875f0b4a0fd57f0760f0c75c950e3d0fe5b39f6 100644
(file)
--- 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) {