1
0
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:
Ken Thompson 2008-06-24 18:14:32 -07:00
parent 1bef250f33
commit 10296166a5

View File

@ -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