]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: racewalk: fix instrumentation of ninit lists
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Nov 2012 18:11:12 +0000 (22:11 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Nov 2012 18:11:12 +0000 (22:11 +0400)
commitb11f85a8aac69c6f065df753bd527e85293a1360
treed9a3be36fbec96d2d98eb90a38c08b223742d6e2
parent8d95245d0dadc1d44ac3567c210d2187e9a4aeea
cmd/gc: racewalk: fix instrumentation of ninit lists
The idea is to (1) process ninit of all nodes,
and (2) put instrumentation of ninit into the nodes themselves (not the top-level statement ninit).
Fixes #4304.

R=golang-dev, rsc
CC=golang-dev, lvd
https://golang.org/cl/6818049
src/cmd/gc/racewalk.c