mirror of
https://github.com/golang/go
synced 2024-11-19 02:04:42 -07:00
[dev.power64] cc: 8-byte align argument size on power64
LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/163370043
This commit is contained in:
parent
11ec8ab5cb
commit
93341e8664
@ -72,7 +72,7 @@ argsize(int doret)
|
||||
if(doret && thisfn->link->etype != TVOID) {
|
||||
s = align(s, thisfn->link, Aarg1, nil);
|
||||
s = align(s, thisfn->link, Aarg2, nil);
|
||||
if(thechar == '6')
|
||||
if(thechar == '6' || thechar == '9')
|
||||
s = (s+7) & ~7;
|
||||
else
|
||||
s = (s+3) & ~3;
|
||||
|
Loading…
Reference in New Issue
Block a user