diff options
author | Andrew Chambers <ac@acha.ninja> | 2021-10-13 17:07:40 +1300 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-10-13 13:16:33 +0200 |
commit | 462e49fd5c8ff82a341212d9a66621727c70fe1d (patch) | |
tree | daad19e9f85e16e91b7352fda1d8ca4d7fe61011 /amd64 | |
parent | 4309ac5bdc75763324fb7384f04027c3f07525cd (diff) | |
download | roux-462e49fd5c8ff82a341212d9a66621727c70fe1d.tar.gz |
add size suffix to frame setup.
Diffstat (limited to 'amd64')
-rw-r--r-- | amd64/emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c index 09b90d5..a888000 100644 --- 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) |