diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2016-04-13 16:25:34 -0400 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-20 09:47:05 -0700 |
commit | b6dc940ec273252678d40707d300851fa1c85ea5 (patch) | |
tree | 3709a76d6d2bff986f8d8ee0700c3fc072c68f48 /src/compiler/nir/nir_opt_peephole_select.c | |
parent | 7143068296aaca8c5af3469c013a7c2a850aee84 (diff) | |
download | mesa-b6dc940ec273252678d40707d300851fa1c85ea5.tar.gz |
nir: rename nir_foreach_block*() to nir_foreach_block*_call()
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/compiler/nir/nir_opt_peephole_select.c')
-rw-r--r-- | src/compiler/nir/nir_opt_peephole_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_peephole_select.c b/src/compiler/nir/nir_opt_peephole_select.c index bad9dc457ad..c1353b5bd91 100644 --- a/src/compiler/nir/nir_opt_peephole_select.c +++ b/src/compiler/nir/nir_opt_peephole_select.c @@ -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); |