From b284721c8acae244d054dbe8c8b5878f0e649c0a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 20 Oct 2015 13:04:07 -0400 Subject: emit code for extensions, move slots into RAlt --- lisc/rega.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisc/rega.c') diff --git a/lisc/rega.c b/lisc/rega.c index b0db117..2f6d613 100644 --- a/lisc/rega.c +++ b/lisc/rega.c @@ -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) -- cgit 1.4.1