From 647d13168a810936a778cc02e4cc99bd460c1f55 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 13 Dec 2016 19:36:56 -0500 Subject: IR: implement maybe return expression --- src/ir_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index d00ba372b4..8f9001edbd 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -585,7 +585,7 @@ static void ir_print_size_of(IrPrint *irp, IrInstructionSizeOf *instruction) { static void ir_print_test_null(IrPrint *irp, IrInstructionTestNull *instruction) { fprintf(irp->f, "*"); ir_print_other_instruction(irp, instruction->value); - fprintf(irp->f, " == null"); + fprintf(irp->f, " != null"); } static void ir_print_unwrap_maybe(IrPrint *irp, IrInstructionUnwrapMaybe *instruction) { -- cgit v1.2.3