summary refs log tree commit diff
path: root/lisc/rega.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-20 13:04:07 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commitb284721c8acae244d054dbe8c8b5878f0e649c0a (patch)
tree304446e2680f1b43dd76832fa64d15a25136f631 /lisc/rega.c
parent993416481a5d5c89410488fbab311ee0b943f948 (diff)
downloadroux-b284721c8acae244d054dbe8c8b5878f0e649c0a.tar.gz
emit code for extensions, move slots into RAlt
Diffstat (limited to 'lisc/rega.c')
-rw-r--r--lisc/rega.c2
1 files changed, 1 insertions, 1 deletions
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)