nir: rename nir_foreach_block*() to nir_foreach_block*_call()
[mesa.git] / src / compiler / nir / nir_opt_peephole_select.c
index bad9dc457ad39f58c7e18fdb1740453ca20fd826..c1353b5bd91c04af801d0a90dffc5c7071bd6fab 100644 (file)
@@ -235,7 +235,7 @@ nir_opt_peephole_select_impl(nir_function_impl *impl)
    state.mem_ctx = ralloc_parent(impl);
    state.progress = false;
 
-   nir_foreach_block(impl, nir_opt_peephole_select_block, &state);
+   nir_foreach_block_call(impl, nir_opt_peephole_select_block, &state);
 
    if (state.progress)
       nir_metadata_preserve(impl, nir_metadata_none);