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 996beaf29084de944b3a3f370bd4c0ce67ab03d6..20f9a5b5c50f1f0ec76191c6b94b6e0d2d5cbaea 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");
 }