forked from OSchip/llvm-project
parent
4474336166
commit
f8deeafd91
|
@ -111,6 +111,10 @@ public:
|
||||||
idx = I.idx;
|
idx = I.idx;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// getSuccessorIndex - This is used to interface between code that wants to
|
||||||
|
/// operate on terminator instructions directly.
|
||||||
|
unsigned getSuccessorIndex() const { return Idx; }
|
||||||
|
|
||||||
inline bool operator==(const _Self& x) const { return idx == x.idx; }
|
inline bool operator==(const _Self& x) const { return idx == x.idx; }
|
||||||
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