From 2efadaeec61d1e2d66da642ec9fbf916c9f29083 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Makarov" Date: Thu, 16 May 2024 13:23:23 -0400 Subject: [PATCH] Remove unused out_block_type. --- mir2c/mir2c.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mir2c/mir2c.c b/mir2c/mir2c.c index 8c1dc85554..9e27cc9e3a 100644 --- a/mir2c/mir2c.c +++ b/mir2c/mir2c.c @@ -30,12 +30,6 @@ static void out_type (FILE *f, MIR_type_t t) { } } -static void out_block_type (FILE *f, MIR_type_t bt, int64_t s) { - switch (bt) { - default: fprintf (f, "struct __s%d{ int64_t a[%ld];}", curr_temp, (long) ((s + 7) / 8)); break; - } -} - static void out_op (MIR_context_t ctx, FILE *f, MIR_op_t op) { switch (op.mode) { case MIR_OP_REG: fprintf (f, "%s", MIR_reg_name (ctx, op.u.reg, curr_func)); break;