mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00:00
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:
parent
c0b9e6218c
commit
fbfb9430dc
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue