ir_print_visitor: Remove unnecessary parens around expression operands.

This commit is contained in:
Kenneth Graunke 2010-04-12 14:52:37 -07:00 committed by Ian Romanick
parent 668d0a992a
commit 2bc582d265

View file

@ -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(") ");
}