mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
ir_print_visitor: Remove unnecessary parens around expression operands.
This commit is contained in:
parent
668d0a992a
commit
2bc582d265
1 changed files with 1 additions and 4 deletions
|
|
@ -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(") ");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue