mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix ordering problem. Found by purify. :)
llvm-svn: 1042
This commit is contained in:
parent
a688ec5b15
commit
2fa3e1f85d
@ -158,7 +158,7 @@ public:
|
||||
inline IIty operator->() const { return operator*(); }
|
||||
|
||||
inline bool operator==(const InstIterator &y) const {
|
||||
return BB == y.BB && (BI == y.BI || BB == BBs.end());
|
||||
return BB == y.BB && (BB == BBs.end() || BI == y.BI);
|
||||
}
|
||||
inline bool operator!=(const InstIterator& y) const {
|
||||
return !operator==(y);
|
||||
|
Loading…
Reference in New Issue
Block a user