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
..
2011-06-23 12:21:33 +00:00
2011-06-25 17:55:23 +00:00
2011-05-20 09:20:25 +00:00
2011-05-31 16:30:33 +00:00
2010-12-07 18:50:33 +00:00
2011-06-01 23:32:40 +00:00
2011-04-06 20:54:07 +00:00
2011-04-28 09:12:47 +00:00
2010-10-20 01:54:44 +00:00
2011-03-21 16:38:22 +00:00
2011-03-08 16:59:03 +00:00
2010-11-29 18:16:10 +00:00