mirror of
https://github.com/golang/go
synced 2024-11-23 00:50:05 -07:00
bug in argument passing
R=r OCL=16044 CL=16044
This commit is contained in:
parent
2fb4edd3e1
commit
7be2b9fdf6
@ -806,6 +806,7 @@ addtyp(Type *n, Type *t, int ctxt)
|
||||
t->sym = s;
|
||||
t->vargen = vargen;
|
||||
|
||||
if(s->forwtype != T) {
|
||||
dowidth(t);
|
||||
for(f=s->forwtype; f!=T; f=f->nforw) {
|
||||
if(!isptr[f->etype])
|
||||
@ -813,6 +814,7 @@ addtyp(Type *n, Type *t, int ctxt)
|
||||
f->type = t;
|
||||
}
|
||||
s->forwtype = T;
|
||||
}
|
||||
|
||||
d = dcl();
|
||||
d->dsym = s;
|
||||
|
Loading…
Reference in New Issue
Block a user