From: Ian Romanick Date: Mon, 5 Apr 2010 23:38:20 +0000 (-0700) Subject: Add some newlines when printing ir_loop instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6313d7a01d842483ae8e5bd1f5dcd20ace1b6f1;p=mesa.git Add some newlines when printing ir_loop instructions --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 996beaf2908..20f9a5b5c50 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -311,11 +311,12 @@ ir_print_visitor::visit(ir_loop *ir) printf(") ("); if (ir->increment != NULL) ir->increment->accept(this); - printf(") ("); + printf(") (\n"); foreach_iter(exec_list_iterator, iter, ir->body_instructions) { ir_instruction *const inst = (ir_instruction *) iter.get(); inst->accept(this); + printf("\n"); } printf("))\n"); }