start integrating RAMem references
This commit is contained in:
parent
b33febc25c
commit
04b66d38db
6 changed files with 48 additions and 20 deletions
|
@ -398,7 +398,7 @@ rega(Fn *fn)
|
|||
npm = 0;
|
||||
for (p=s->phi; p; p=p->link) {
|
||||
dst = p->to;
|
||||
assert(rtype(dst)==RASlot || rtype(dst)==RTmp);
|
||||
assert(rtype(dst)==RSlot || rtype(dst)==RTmp);
|
||||
if (rtype(dst) == RTmp) {
|
||||
r = rfind(&beg[s->id], dst.val);
|
||||
if (r == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue