mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 23:29:22 +00:00
Simplify this code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9f0512d85f
commit
181436f11b
@ -143,8 +143,7 @@ public:
|
|||||||
static inline _Self end(const GraphT& G, SetType &S) { return _Self(S); }
|
static inline _Self end(const GraphT& G, SetType &S) { return _Self(S); }
|
||||||
|
|
||||||
inline bool operator==(const _Self& x) const {
|
inline bool operator==(const _Self& x) const {
|
||||||
return VisitStack.size() == x.VisitStack.size() &&
|
return VisitStack == x.VisitStack;
|
||||||
VisitStack == x.VisitStack;
|
|
||||||
}
|
}
|
||||||
inline bool operator!=(const _Self& x) const { return !operator==(x); }
|
inline bool operator!=(const _Self& x) const { return !operator==(x); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user