From: Kenneth Graunke Date: Mon, 12 Apr 2010 21:52:37 +0000 (-0700) Subject: ir_print_visitor: Remove unnecessary parens around expression operands. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bc582d26548a83fb64cdd6485d039b891dd4c37;p=mesa.git ir_print_visitor: Remove unnecessary parens around expression operands. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 9a8eaf599da..faeb784e922 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -155,15 +155,12 @@ void ir_print_visitor::visit(ir_expression *ir) printf(" %s ", operators[ir->operation]); - printf("("); if (ir->operands[0]) ir->operands[0]->accept(this); - printf(") "); - printf("("); if (ir->operands[1]) ir->operands[1]->accept(this); - printf(")) "); + printf(") "); }