ir_print_visitor: Print (constant bool (1)) instead of "true"

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.
This commit is contained in:
Kenneth Graunke 2010-04-12 15:46:10 -07:00 committed by Ian Romanick
parent 2bc582d265
commit 405e122a47

View file

@ -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(" ");