diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-30 16:38:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-30 16:38:49 +0000 |
commit | 6c80e732dc6a145d66913017775ef3c7d560832c (patch) | |
tree | 0e4c6123c65007d2ede930eabf7e6cb842d9265e /include/llvm/Function.h | |
parent | bfbed460dfedee1a1c6e2ee45fd920d6db6d4142 (diff) |
Fix ordering problem. Found by purify. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 3e07761dc7..66ea4d272e 100644 --- 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 && (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); |