Skip to content
Commit f0d4e70f authored by Uday Bondhugula's avatar Uday Bondhugula Committed by jpienaar
Browse files

Fix Block::getNumSuccessors()

- getTerminator() on a block can return nullptr; moreover, blocks that are improperly
  constructed/transformed by utilities/passes may not have terminators even for the
  top-level blocks

PiperOrigin-RevId: 232025963
parent c46b0fea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment