diff options
author | Kenneth Graunke <[email protected]> | 2010-04-12 14:52:37 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-04-28 15:34:52 -0700 |
commit | 2bc582d26548a83fb64cdd6485d039b891dd4c37 (patch) | |
tree | 32ab1078d241f6346a60b8f9bbedfa5a89ce3ef4 /ir_print_visitor.cpp | |
parent | 668d0a992a33fc2caeda070c34b3c98b5b628d2f (diff) |
ir_print_visitor: Remove unnecessary parens around expression operands.
Diffstat (limited to 'ir_print_visitor.cpp')
-rw-r--r-- | ir_print_visitor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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(") "); } |