Skip to content

Commit

Permalink
Remove unused out_block_type.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmakarov committed May 16, 2024
1 parent c71ba9c commit 2efadae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mir2c/mir2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2efadae

Please sign in to comment.