Add some newlines when printing ir_loop instructions

This commit is contained in:
Ian Romanick
2010-04-05 16:38:20 -07:00
parent 9e7d010ee0
commit d6313d7a01
+2 -1
View 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");
}