(&self, block: BlockIndex)
| 1554 | } |
| 1555 | |
| 1556 | fn block_params(&self, block: BlockIndex) -> &[VReg] { |
| 1557 | // As a special case we don't return block params for the entry block, as all the arguments |
| 1558 | // will be defined by the `Inst::Args` instruction. |
| 1559 | if block == self.entry { |
| 1560 | return &[]; |
| 1561 | } |
| 1562 | |
| 1563 | let range = self.block_params_range.get(block.index()); |
| 1564 | &self.block_params[range] |
| 1565 | } |
| 1566 | |
| 1567 | fn branch_blockparams(&self, block: BlockIndex, _insn: InsnIndex, succ_idx: usize) -> &[VReg] { |
| 1568 | let succ_range = self.branch_block_arg_succ_range.get(block.index()); |
no test coverage detected