From d6313d7a01d842483ae8e5bd1f5dcd20ace1b6f1 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 5 Apr 2010 16:38:20 -0700 Subject: [PATCH] Add some newlines when printing ir_loop instructions --- ir_print_visitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } -- 2.30.2