summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-18 21:23:32 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:32 -0400
commite9bb9e586bb18a6e8a63af5e73a4d1d47f6222c9 (patch)
tree22cec02a406b7ad4acad503868d6a6d19300f792
parent6f09869ea139782fd97e80182a0645891bf548d5 (diff)
downloadroux-e9bb9e586bb18a6e8a63af5e73a4d1d47f6222c9.tar.gz
fix bug in alignment constraints of spill slots
-rw-r--r--lisc/spill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index 5fa54ca..49a7db4 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -171,9 +171,9 @@ slot(int t)
 	s = tmp[t].spill;
 	if (!s) {
 		if (tmp[t].type == TWord)
-			s = slota(1, 1, svec);
+			s = slota(1, 0, svec);
 		else if (tmp[t].type == TLong)
-			s = slota(2, 2, svec);
+			s = slota(2, 1, svec);
 		else
 			diag("spill: unknown type (1)");
 		tmp[t].spill = s;