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:
bfbed46
)
Fix ordering problem. Found by purify. :)
author
Chris Lattner
<sabre@nondot.org>
Tue, 30 Oct 2001 16:38:49 +0000
(16:38 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 30 Oct 2001 16:38:49 +0000
(16:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1042
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Function.h
patch
|
blob
|
history
diff --git
a/include/llvm/Function.h
b/include/llvm/Function.h
index 3e07761dc755682a30d0505ad8b81e6cca5a2ae7..66ea4d272ef25e256ff1882fb0bf382ad6ca436c 100644
(file)
--- a/
include/llvm/Function.h
+++ b/
include/llvm/Function.h
@@
-158,7
+158,7
@@
public:
inline IIty operator->() const { return operator*(); }
inline bool operator==(const InstIterator &y) const {
- return BB == y.BB && (B
I == y.BI || BB == BBs.end()
);
+ return BB == y.BB && (B
B == BBs.end() || BI == y.BI
);
}
inline bool operator!=(const InstIterator& y) const {
return !operator==(y);