make Alias.base an int
We had the invariant that it'd always be a temporary.
This commit is contained in:
parent
0d50ebaed9
commit
1f696fed0d
3 changed files with 7 additions and 7 deletions
4
load.c
4
load.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue