1
0
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:
Chris Lattner 2001-10-30 16:38:49 +00:00
parent a688ec5b15
commit 2fa3e1f85d

View File

@ -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);