From 405e122a477a62e7b331c7c4431b628a39d29919 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 12 Apr 2010 15:46:10 -0700 Subject: 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. --- ir_print_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(" "); -- cgit v1.2.3