summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_remove_phis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opt_remove_phis.c')
-rw-r--r--src/compiler/nir/nir_opt_remove_phis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_remove_phis.c b/src/compiler/nir/nir_opt_remove_phis.c
index 6461837..07c5756 100644
--- a/src/compiler/nir/nir_opt_remove_phis.c
+++ b/src/compiler/nir/nir_opt_remove_phis.c
@@ -106,7 +106,7 @@ remove_phis_impl(nir_function_impl *impl)
{
bool progress = false;
- nir_foreach_block(impl, remove_phis_block, &progress);
+ nir_foreach_block_call(impl, remove_phis_block, &progress);
if (progress) {
nir_metadata_preserve(impl, nir_metadata_block_index |