mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
SQUASH: Add an assert
This commit is contained in:
parent
2812e5de93
commit
8b4c860580
1 changed files with 1 additions and 0 deletions
|
|
@ -833,6 +833,7 @@ handle_jump(nir_block *block)
|
|||
unlink_blocks(last_block, after_block);
|
||||
}
|
||||
} else {
|
||||
assert(jump_instr->type == nir_jump_return);
|
||||
nir_function_impl *impl = nir_cf_node_get_function(&block->cf_node);
|
||||
link_blocks(block, impl->end_block, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue