forked from OSchip/llvm-project
parent
4474336166
commit
f8deeafd91
|
@ -112,6 +112,10 @@ public:
|
|||
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 !operator==(x); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue