Get the total number of basic blocks created in this function, whether they are currently inserted in the layout or not. This is intended for use with `SecondaryMap::with_capacity`.
(&self)
| 231 | /// |
| 232 | /// This is intended for use with `SecondaryMap::with_capacity`. |
| 233 | pub fn num_blocks(&self) -> usize { |
| 234 | self.blocks.len() |
| 235 | } |
| 236 | |
| 237 | /// Returns `true` if the given block reference is valid. |
| 238 | pub fn block_is_valid(&self, block: Block) -> bool { |
no test coverage detected