From af536ac343564e5120f99cbf3b7fc9efa984eb93 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 16 Mar 2017 16:02:35 -0400 Subject: introduce new test syntax * remove setFnTest builtin * add test "name" { ... } syntax * remove --check-unused argument. functions are always lazy now. --- src/ir_print.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 3c9e53662e..b5f5a16983 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -339,12 +339,6 @@ static void ir_print_enum_field_ptr(IrPrint *irp, IrInstructionEnumFieldPtr *ins fprintf(irp->f, ")"); } -static void ir_print_set_fn_test(IrPrint *irp, IrInstructionSetFnTest *instruction) { - fprintf(irp->f, "@setFnTest("); - ir_print_other_instruction(irp, instruction->fn_value); - fprintf(irp->f, ")"); -} - static void ir_print_set_fn_visible(IrPrint *irp, IrInstructionSetFnVisible *instruction) { fprintf(irp->f, "@setFnVisible("); ir_print_other_instruction(irp, instruction->fn_value); @@ -932,9 +926,6 @@ static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { case IrInstructionIdEnumFieldPtr: ir_print_enum_field_ptr(irp, (IrInstructionEnumFieldPtr *)instruction); break; - case IrInstructionIdSetFnTest: - ir_print_set_fn_test(irp, (IrInstructionSetFnTest *)instruction); - break; case IrInstructionIdSetFnVisible: ir_print_set_fn_visible(irp, (IrInstructionSetFnVisible *)instruction); break; -- cgit v1.2.3