start integrating RAMem references

This commit is contained in:
Quentin Carbonneaux 2015-10-23 13:50:26 -04:00
parent b33febc25c
commit 04b66d38db
6 changed files with 48 additions and 20 deletions

View file

@ -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)