From 9d290d786d702cfc5eb7b6aefd6cb5b2c946ab88 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 21 Apr 2010 23:47:07 -0700 Subject: [PATCH] Use "neg" when printing/reading unary negation rather than "-". "-" is now only used for binary subtraction. --- ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.cpp b/ir.cpp index 3f4c40d0c99..63135e35533 100644 --- a/ir.cpp +++ b/ir.cpp @@ -111,7 +111,7 @@ ir_expression::get_num_operands(ir_expression_operation op) static const char *const operator_strs[] = { "~", "!", - "-", + "neg", "abs", "rcp", "rsq", -- 2.30.2