1
0
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:
Chris Lattner 2003-11-10 04:16:50 +00:00
parent e0d83d79e4
commit 79ba83de00

View File

@ -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); }