Add some linebreaks in the ir_print_visitor of if statement bodies.
authorEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 19:13:02 +0000 (12:13 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 19:13:02 +0000 (12:13 -0700)
ir_print_visitor.cpp

index e1fedd7..375659d 100644 (file)
@@ -281,6 +281,7 @@ ir_print_visitor::visit(ir_if *ir)
       ir_instruction *const inst = (ir_instruction *) iter.get();
 
       inst->accept(this);
+      printf("\n");
    }
    printf(")\n");
 
@@ -289,6 +290,7 @@ ir_print_visitor::visit(ir_if *ir)
       ir_instruction *const inst = (ir_instruction *) iter.get();
 
       inst->accept(this);
+      printf("\n");
    }
    printf("))\n");
 }