summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-04-12 15:46:10 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 15:34:52 -0700
commit405e122a477a62e7b331c7c4431b628a39d29919 (patch)
tree2675e799f506ced110a2011706b147be7285f21c
parent2bc582d26548a83fb64cdd6485d039b891dd4c37 (diff)
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.
-rw-r--r--ir_print_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp
index faeb784e92..ec20e0c0ed 100644
--- 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(" ");