llvm.org GIT mirror llvm / b977ef2
Helper method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9854 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
110110 idx = I.idx;
111111 return *this;
112112 }
113
114 /// getSuccessorIndex - This is used to interface between code that wants to
115 /// operate on terminator instructions directly.
116 unsigned getSuccessorIndex() const { return Idx; }
113117
114118 inline bool operator==(const _Self& x) const { return idx == x.idx; }
115119 inline bool operator!=(const _Self& x) const { return !operator==(x); }