From 78d992ff3052db9dc98a3074e8a4423760c342f1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 15 Apr 2024 03:08:34 +0300 Subject: fix insert_before/after + Hopefully for good, quite a lot of messing about with those functions --- src/asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/asm.c') diff --git a/src/asm.c b/src/asm.c index 60d8139..4674c99 100644 --- a/src/asm.c +++ b/src/asm.c @@ -296,7 +296,7 @@ static void output_alloc(struct insn i, FILE *o) assert(i.type == ALLOC); /** @todo alignment is ignored, is that our responsibility? */ fprintf(o, "addi sp, sp, -%lli\n", i.v); - fprintf(o, "mov %s, sp\n", rname(i.out)); + fprintf(o, "mv %s, sp\n", rname(i.out)); } static void output_dealloc(struct insn i, FILE *o) -- cgit v1.3