emit code for extensions, move slots into RAlt

This commit is contained in:
Quentin Carbonneaux 2015-10-20 13:04:07 -04:00
parent 993416481a
commit b284721c8a
6 changed files with 67 additions and 30 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)==RSlot|| rtype(dst)==RTmp);
assert(rtype(dst)==RASlot || rtype(dst)==RTmp);
if (rtype(dst) == RTmp) {
r = rfind(&beg[s->id], dst.val);
if (r == -1)