commit 462e49fd5c8ff82a341212d9a66621727c70fe1d
parent 4309ac5bdc75763324fb7384f04027c3f07525cd
Author: Andrew Chambers <ac@acha.ninja>
Date: Wed, 13 Oct 2021 17:07:40 +1300
add size suffix to frame setup.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/amd64/emit.c b/amd64/emit.c
@@ -555,7 +555,7 @@ amd64_emitfn(Fn *fn, FILE *f)
);
fs = framesz(fn);
if (fs)
- fprintf(f, "\tsub $%"PRIu64", %%rsp\n", fs);
+ fprintf(f, "\tsubq $%"PRIu64", %%rsp\n", fs);
if (fn->vararg) {
o = -176;
for (r=amd64_sysv_rsave; r<&amd64_sysv_rsave[6]; r++, o+=8)