projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02c5af
)
ir_print_visitor: Fix unclosed parenthesis in (assign ...
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 10 Apr 2010 00:29:47 +0000
(17:29 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000
(15:34 -0700)
Also remove useless parens around subexpressions.
ir_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/ir_print_visitor.cpp
b/ir_print_visitor.cpp
index 75fc109e1333070062ea9d7b627a795f535946fa..bd35bd7966b7431608f62dd41058de27986a9c66 100644
(file)
--- a/
ir_print_visitor.cpp
+++ b/
ir_print_visitor.cpp
@@
-216,18
+216,18
@@
void ir_print_visitor::visit(ir_dereference *ir)
void ir_print_visitor::visit(ir_assignment *ir)
{
- printf("(assign
(
");
+ printf("(assign ");
if (ir->condition)
ir->condition->accept(this);
else
printf("true");
- printf("
) (
");
+ printf("
");
ir->lhs->accept(this);
- printf("
) (
");
+ printf("
");
ir->rhs->accept(this);
printf(") ");