summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-04 12:10:20 -0700
committerJason Ekstrand <[email protected]>2016-04-04 12:10:20 -0700
commitfe247bbe922ab862914bc76c10557157a06700ac (patch)
tree11d16aa92332c992b486ed687c3c680162336ba9 /src/compiler
parentcb317b8d074853f93b7d6965f8652bd200085d5b (diff)
nir: Stop double-printing function arguments
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_print.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index 60b74d13dc7..17ae3681e21 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -964,16 +964,6 @@ print_function_impl(nir_function_impl *impl, print_state *state)
fprintf(fp, "{\n");
- for (unsigned i = 0; i < impl->num_params; i++) {
- fprintf(fp, "\t");
- print_var_decl(impl->params[i], state);
- }
-
- if (impl->return_var) {
- fprintf(fp, "\t");
- print_var_decl(impl->return_var, state);
- }
-
nir_foreach_variable(var, &impl->locals) {
fprintf(fp, "\t");
print_var_decl(var, state);