projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde9678
)
ir_print_visitor: Re-parenthesize ir_call output.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Apr 2010 07:44:12 +0000
(
00:44
-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 6a340a25d497f7c2ce73b62c91abc78f298ee98b..56048fe40f208b6fd73bbf67e6f23fa90a937dd9 100644
(file)
--- a/
ir_print_visitor.cpp
+++ b/
ir_print_visitor.cpp
@@
-260,13
+260,13
@@
void ir_print_visitor::visit(ir_constant *ir)
void
ir_print_visitor::visit(ir_call *ir)
{
- printf("(call
(%s)
", ir->callee_name());
+ printf("(call
%s (
", ir->callee_name());
foreach_iter(exec_list_iterator, iter, *ir) {
ir_instruction *const inst = (ir_instruction *) iter.get();
inst->accept(this);
}
- printf(")\n");
+ printf(")
)
\n");
}