qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit e9bb9e586bb18a6e8a63af5e73a4d1d47f6222c9
parent 6f09869ea139782fd97e80182a0645891bf548d5
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Tue, 18 Aug 2015 21:23:32 -0400

fix bug in alignment constraints of spill slots

Diffstat:
Mlisc/spill.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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;