fix bug in alignment constraints of spill slots
This commit is contained in:
parent
6f09869ea1
commit
e9bb9e586b
1 changed files with 2 additions and 2 deletions
|
@ -171,9 +171,9 @@ slot(int t)
|
||||||
s = tmp[t].spill;
|
s = tmp[t].spill;
|
||||||
if (!s) {
|
if (!s) {
|
||||||
if (tmp[t].type == TWord)
|
if (tmp[t].type == TWord)
|
||||||
s = slota(1, 1, svec);
|
s = slota(1, 0, svec);
|
||||||
else if (tmp[t].type == TLong)
|
else if (tmp[t].type == TLong)
|
||||||
s = slota(2, 2, svec);
|
s = slota(2, 1, svec);
|
||||||
else
|
else
|
||||||
diag("spill: unknown type (1)");
|
diag("spill: unknown type (1)");
|
||||||
tmp[t].spill = s;
|
tmp[t].spill = s;
|
||||||
|
|
Loading…
Add table
Reference in a new issue