Tobias Grosser 598179ee2f SuccIterator on bbs without terminator insts
Remove the assert that triggers if SuccIterator is constructed for a basic block
without a terminator instruction. Instead of triggering an assert a succ_end()
iterator is returned. This models a basic block with zero successors and allows
us to use F->viewCFG() on incompletely constructed functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134398 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-04 23:09:02 +00:00
..
2010-12-07 18:11:54 +00:00
2011-06-13 11:11:39 +00:00
2011-06-23 14:02:13 +00:00
2011-03-31 13:06:39 +00:00
2011-01-17 18:34:03 +00:00
2010-12-15 22:33:06 +00:00
2011-03-18 16:39:36 +00:00
2011-05-22 00:50:53 +00:00