From e9bb9e586bb18a6e8a63af5e73a4d1d47f6222c9 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 18 Aug 2015 21:23:32 -0400 Subject: [PATCH] fix bug in alignment constraints of spill slots --- lisc/spill.c | 4 ++-- 1 file 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;