Commits

Michael Gottesman committed f3c8c5a7746
Create SILBasicBlock::getSuccessorBlocks(). This just runs a transform range on getSuccessor()'s ArrayRef<SILSuccessor> so one does not need to always call Successor.getBB() when iterating over successor blocks. Instead the transform range does that call for you. I also updated some loops to use this new SILBasicBlock method to make sure that the code is tested out by tests that are already in tree. All these places should be functionally the same albeit a bit cleaner.