projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc582d
)
ir_print_visitor: Print (constant bool (1)) instead of "true"
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 12 Apr 2010 22:46:10 +0000
(15:46 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000
(15:34 -0700)
It might be better to simply handle "true" in the reader, but since
booleans normally aren't printed as "true" or "false", we may as well go
for consistency.
ir_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/ir_print_visitor.cpp
b/ir_print_visitor.cpp
index faeb784e922a4ccec105ece4250f418677c5dbfe..ec20e0c0eddbc51b9cc87e5540b6e5ee2a92084d 100644
(file)
--- a/
ir_print_visitor.cpp
+++ b/
ir_print_visitor.cpp
@@
-218,7
+218,7
@@
void ir_print_visitor::visit(ir_assignment *ir)
if (ir->condition)
ir->condition->accept(this);
else
- printf("
true
");
+ printf("
(constant bool (1))
");
printf(" ");