Add some newlines when printing ir_loop instructions
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 5 Apr 2010 23:38:20 +0000 (16:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Apr 2010 18:42:36 +0000 (11:42 -0700)
ir_print_visitor.cpp

index 996beaf..20f9a5b 100644 (file)
@@ -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");
 }