llvm.org GIT mirror llvm / edd1cc7
Add getSource() to SuccIterator Get the source BB of an iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93364 91177308-0d34-0410-b5e6-96231b3b80d8 Tobias Grosser 10 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
188188 // tmp += offset;
189189 // return tmp.operator*();
190190 // }
191
192 /// Get the source BB of this iterator.
193 inline BB_ *getSource() {
194 return Term->getParent();
195 }
191196 };
192197
193198 typedef SuccIterator succ_iterator;