projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668d0a9
)
ir_print_visitor: Remove unnecessary parens around expression operands.
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 12 Apr 2010 21:52:37 +0000
(14:52 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000
(15:34 -0700)
ir_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/ir_print_visitor.cpp
b/ir_print_visitor.cpp
index 9a8eaf599da1bd9aa3c99c8640248abf0e0e52e4..faeb784e922a4ccec105ece4250f418677c5dbfe 100644
(file)
--- 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(") ");
}