summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_phi_builder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_phi_builder.c')
-rw-r--r--src/compiler/nir/nir_phi_builder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_phi_builder.c b/src/compiler/nir/nir_phi_builder.c
index 1f1388a..1dd9c62 100644
--- a/src/compiler/nir/nir_phi_builder.c
+++ b/src/compiler/nir/nir_phi_builder.c
@@ -99,7 +99,7 @@ nir_phi_builder_create(nir_function_impl *impl)
pb->num_blocks = impl->num_blocks;
pb->blocks = ralloc_array(pb, nir_block *, pb->num_blocks);
- nir_foreach_block(impl, fill_block_array, pb->blocks);
+ nir_foreach_block_call(impl, fill_block_array, pb->blocks);
exec_list_make_empty(&pb->values);