From: Kenneth Graunke Date: Thu, 22 Apr 2010 07:44:12 +0000 (-0700) Subject: ir_print_visitor: Re-parenthesize ir_call output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e385196f65d0f8dc3238e7eedb6f2d6c0a79a5d;p=mesa.git ir_print_visitor: Re-parenthesize ir_call output. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 6a340a25d49..56048fe40f2 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -260,13 +260,13 @@ void ir_print_visitor::visit(ir_constant *ir) void ir_print_visitor::visit(ir_call *ir) { - printf("(call (%s) ", ir->callee_name()); + printf("(call %s (", ir->callee_name()); foreach_iter(exec_list_iterator, iter, *ir) { ir_instruction *const inst = (ir_instruction *) iter.get(); inst->accept(this); } - printf(")\n"); + printf("))\n"); }