From: Timothy Arceri Date: Wed, 2 Jan 2019 05:00:10 +0000 (+1100) Subject: nir: make nir_opt_remove_phis_impl() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0016166d19586fb8b328d88795b3239e30927293;p=mesa.git nir: make nir_opt_remove_phis_impl() static Reviewed-by: Alejandro PiƱeiro --- diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index c6aeba96ba4..6d22e6481ad 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3206,7 +3206,6 @@ bool nir_opt_move_load_ubo(nir_shader *shader); bool nir_opt_peephole_select(nir_shader *shader, unsigned limit, bool indirect_load_ok, bool expensive_alu_ok); -bool nir_opt_remove_phis_impl(nir_function_impl *impl); bool nir_opt_remove_phis(nir_shader *shader); bool nir_opt_shrink_load(nir_shader *shader); diff --git a/src/compiler/nir/nir_opt_remove_phis.c b/src/compiler/nir/nir_opt_remove_phis.c index e2d3994c49e..d7ca2fe7179 100644 --- a/src/compiler/nir/nir_opt_remove_phis.c +++ b/src/compiler/nir/nir_opt_remove_phis.c @@ -139,7 +139,7 @@ remove_phis_block(nir_block *block, nir_builder *b) return progress; } -bool +static bool nir_opt_remove_phis_impl(nir_function_impl *impl) { bool progress = false;