diff options
| author | Quentin Carbonneaux <[email protected]> | 2022-11-20 21:36:51 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2022-11-20 21:44:25 +0100 |
| commit | 1f696fed0dd9f9019209f3f8178f599d1e25c782 (patch) | |
| tree | 38fc007b260d360a7ab41da693fd8c60bafb1572 /load.c | |
| parent | 0d50ebaed94f595961d88544a028bf7f523d3eac (diff) | |
make Alias.base an int
We had the invariant that it'd
always be a temporary.
Diffstat (limited to 'load.c')
| -rw-r--r-- | load.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,7 +144,7 @@ load(Slice sl, bits msk, Loc *l) case ALoc: case AEsc: case AUnk: - r = a->base; + r = TMP(a->base); if (!a->offset) break; r1 = getcon(a->offset, curf); @@ -178,7 +178,7 @@ killsl(Ref r, Slice sl) default: die("unreachable"); case ALoc: case AEsc: - case AUnk: return req(a->base, r); + case AUnk: return req(TMP(a->base), r); case ACon: case ASym: return 0; } |
