mirror of
https://github.com/golang/go
synced 2024-11-11 21:10:21 -07:00
bug in returning a fat function result
SVN=124436
This commit is contained in:
parent
1bef250f33
commit
10296166a5
@ -694,12 +694,7 @@ cgen_aret(Node *n, Node *res)
|
||||
nod1.xoffset = fp->width;
|
||||
nod1.type = fp->type;
|
||||
|
||||
memset(&nod2, 0, sizeof(nod2));
|
||||
nod2.op = OADDR;
|
||||
nod2.left = &nod1;
|
||||
nod2.addable = 1;
|
||||
|
||||
cgen_as(res, &nod2, 0);
|
||||
gins(ALEAQ, &nod1, res);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user