record this cursor as the start of IR block_id
| 32 | |
| 33 | // record this cursor as the start of IR block_id |
| 34 | void mark_block(std::uint32_t block_id) { |
| 35 | block_offsets_[block_id] = buf_.size(); |
| 36 | } |
| 37 | |
| 38 | std::uint32_t block_offset(std::uint32_t block_id) const { |
| 39 | auto it = block_offsets_.find(block_id); |
no test coverage detected