Commit fbfb9430 authored by Russ Cox's avatar Russ Cox

cmd/gc: fix race build

Missed this case in CL 51010045.

TBR=khr
CC=golang-codereviews
https://golang.org/cl/53200043
parent c0b9e621
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment