From 7ea6f938e925a312361b5abc1bd329dbdc5f0bc8 Mon Sep 17 00:00:00 2001 From: kristopher tate Date: Wed, 5 Sep 2018 19:42:17 +0900 Subject: [PATCH] src/ir_print.cpp: remove @minValue and @maxValue; ref #1466; --- src/ir_print.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 3bed716756b0..8e51d1c6f369 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -565,18 +565,6 @@ static void ir_print_ref(IrPrint *irp, IrInstructionRef *instruction) { ir_print_other_instruction(irp, instruction->value); } -static void ir_print_min_value(IrPrint *irp, IrInstructionMinValue *instruction) { - fprintf(irp->f, "@minValue("); - ir_print_other_instruction(irp, instruction->value); - fprintf(irp->f, ")"); -} - -static void ir_print_max_value(IrPrint *irp, IrInstructionMaxValue *instruction) { - fprintf(irp->f, "@maxValue("); - ir_print_other_instruction(irp, instruction->value); - fprintf(irp->f, ")"); -} - static void ir_print_compile_err(IrPrint *irp, IrInstructionCompileErr *instruction) { fprintf(irp->f, "@compileError("); ir_print_other_instruction(irp, instruction->msg); @@ -1480,12 +1468,6 @@ static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { case IrInstructionIdRef: ir_print_ref(irp, (IrInstructionRef *)instruction); break; - case IrInstructionIdMinValue: - ir_print_min_value(irp, (IrInstructionMinValue *)instruction); - break; - case IrInstructionIdMaxValue: - ir_print_max_value(irp, (IrInstructionMaxValue *)instruction); - break; case IrInstructionIdCompileErr: ir_print_compile_err(irp, (IrInstructionCompileErr *)instruction); break;