mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
Helper method
llvm-svn: 9854
This commit is contained in:
parent
e0d83d79e4
commit
79ba83de00
@ -111,6 +111,10 @@ public:
|
||||
idx = I.idx;
|
||||
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
Block a user