summary refs log tree commit diff
path: root/lisc/spill.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-01-28 15:12:17 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-01-28 15:12:17 -0500
commitd2bcd3beeb8f24dc0241e58648792a911a325fff (patch)
tree87b9378ff62757cc880de70c7d6aa979324dd0ad /lisc/spill.c
parent7bf505605f025a187916f13385de048b4d15462a (diff)
downloadroux-d2bcd3beeb8f24dc0241e58648792a911a325fff.tar.gz
fix non-updated limit() call in spiller
Diffstat (limited to 'lisc/spill.c')
-rw-r--r--lisc/spill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index 9011753..ae9be00 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -312,7 +312,7 @@ dopm(Blk *b, Ins *i, Bits *v)
 			r |= BIT(rsave[n]);
 		v->t[0] |= calluse(*(i-1), 0);
 	} else {
-		limit(v, NReg, 0);
+		limit2(v, 0, 0, 0);
 		r = v->t[0];
 	}
 	sethint(v, r);