cmd/gc: fix race build

Missed this case in CL 51010045.

TBR=khr
CC=golang-codereviews
https://golang.org/cl/53200043
This commit is contained in:
Russ Cox 2014-01-16 10:11:06 -05:00
parent c0b9e6218c
commit fbfb9430dc

View file

@ -359,6 +359,7 @@ staticcopy(Node *l, Node *r, NodeList **out)
// copying someone else's computation.
rr = nod(OXXX, N, N);
*rr = *orig;
rr->orig = rr; // completely separate copy
rr->type = ll->type;
rr->xoffset += e->xoffset;
*out = list(*out, nod(OAS, ll, rr));