summary refs log tree commit diff
path: root/lisc/rega.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-23 13:50:26 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commit04b66d38db182390642f8da38b883750208b4835 (patch)
tree6b2a1c6207805131e83277df564bd07aed9ec4e1 /lisc/rega.c
parentb33febc25cce5c836bad952da472f6a54e777ed8 (diff)
downloadroux-04b66d38db182390642f8da38b883750208b4835.tar.gz
start integrating RAMem references
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 331fa85..6bd72ef 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)==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)