mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
uniformize alignment code in framesz()
This commit is contained in:
parent
790f852b96
commit
7333826bce
@ -297,8 +297,7 @@ framesz(Fn *fn)
|
||||
for (i=0, o=0; i<NRClob; i++)
|
||||
o ^= 1 & (fn->reg >> rclob[i]);
|
||||
f = fn->slot;
|
||||
if (f & 3)
|
||||
f += 4 - (f & 3);
|
||||
f = (f + 3) & -4;
|
||||
return 4*f + 8*o;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user