From 0e385196f65d0f8dc3238e7eedb6f2d6c0a79a5d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 22 Apr 2010 00:44:12 -0700 Subject: [PATCH] ir_print_visitor: Re-parenthesize ir_call output. --- ir_print_visitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.30.2