nir: make nir_opt_remove_phis_impl() static
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 2 Jan 2019 05:00:10 +0000 (16:00 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 3 Jan 2019 00:47:56 +0000 (11:47 +1100)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_remove_phis.c

index c6aeba96ba4ec00fa165e47b23ef0f98f3fa5548..6d22e6481ad7f9ae458801d5c8124269abf59e6f 100644 (file)
@@ -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);
index e2d3994c49ed1ffebb5cfd36ef2dc67df6f2bf35..d7ca2fe7179c33cb7d3ef06ad8ad5e97861cfca6 100644 (file)
@@ -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;