Declares a new basic block to construct corresponding data for SSA construction. No predecessors are declared here and the block is not sealed. Predecessors have to be added with `declare_block_predecessor`.
(&mut self, block: Block)
| 388 | /// No predecessors are declared here and the block is not sealed. |
| 389 | /// Predecessors have to be added with `declare_block_predecessor`. |
| 390 | pub fn declare_block(&mut self, block: Block) { |
| 391 | // Ensure the block exists so seal_all_blocks will see it even if no predecessors or |
| 392 | // variables get declared for this block. But don't assign anything to it: |
| 393 | // SecondaryMap automatically sets all blocks to `default()`. |
| 394 | let _ = &mut self.ssa_blocks[block]; |
| 395 | } |
| 396 | |
| 397 | /// Declares a new predecessor for a `Block` and record the branch instruction |
| 398 | /// of the predecessor that leads to it. |
no outgoing calls