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 e1fedd78a9303677720ed4f6e2d6e79636c54b3f..375659d5cffb5da92b729ddd7948b4e29f258def 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");
 }