diff options
Diffstat (limited to 'rv64/isel.c')
-rw-r--r-- | rv64/isel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rv64/isel.c b/rv64/isel.c index 3d9884f..42c0097 100644 --- a/rv64/isel.c +++ b/rv64/isel.c @@ -44,8 +44,8 @@ fixarg(Ref *r, int k, Ins *i, Fn *fn) n = stashbits(&c->bits, KWIDE(k) ? 8 : 4); vgrow(&fn->con, ++fn->ncon); c = &fn->con[fn->ncon-1]; - sprintf(buf, "fp%d", n); - *c = (Con){.type = CAddr, .local = 1}; + sprintf(buf, "\"%sfp%d\"", T.asloc, n); + *c = (Con){.type = CAddr}; c->label = intern(buf); emit(Oload, k, r1, CON(c-fn->con), R); break; |