mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix ordering problem. Found by purify. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bfbed460df
commit
6c80e732dc
@ -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