diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-25 20:34:15 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-25 20:34:15 -0400 |
commit | aad52241c88ad5327a8488c66dc906c8393c9c92 (patch) | |
tree | 43c6244cf40082b97d49840018e59be5f881a9c9 /src/isel.c | |
parent | 62e238a6ef151d56b79e1f076a57463f2e1fb020 (diff) | |
download | roux-aad52241c88ad5327a8488c66dc906c8393c9c92.tar.gz |
compatibility fixes for mac os
Diffstat (limited to 'src/isel.c')
-rw-r--r-- | src/isel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/isel.c b/src/isel.c index 48e29ef..2a55733 100644 --- a/src/isel.c +++ b/src/isel.c @@ -132,8 +132,9 @@ fixarg(Ref *r, int k, int phi, Fn *fn) vgrow(&fn->mem, ++fn->nmem); memset(&a, 0, sizeof a); a.offset.type = CAddr; + a.offset.local = 1; n = stashfp(fn->con[r0.val].bits.i, KWIDE(k)); - sprintf(a.offset.label, ".Lfp%d", n); + sprintf(a.offset.label, "fp%d", n); fn->mem[fn->nmem-1] = a; } else if (!phi && k == Kl && noimm(r0, fn)) { |