nir: rename nir_foreach_block*() to nir_foreach_block*_call()

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Connor Abbott
2016-04-13 16:25:34 -04:00
committed by Jason Ekstrand
parent 7143068296
commit b6dc940ec2
59 changed files with 92 additions and 89 deletions

View File

@@ -199,7 +199,7 @@ loop_is_dead(nir_loop *loop)
nir_block_first_instr(after)->type == nir_instr_type_phi)
return false;
if (!nir_foreach_block_in_cf_node(&loop->cf_node, block_has_no_side_effects,
if (!nir_foreach_block_in_cf_node_call(&loop->cf_node, block_has_no_side_effects,
NULL))
return false;