]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: cleanup SWITCH nodes after walk.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 19 Sep 2013 07:23:04 +0000 (09:23 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 19 Sep 2013 07:23:04 +0000 (09:23 +0200)
commit381b72a7a3cc4c7182319f84297d40bb7b459dc4
treea7ee8117f14bec8286870634a97e17ec464bc603
parentd0bc227abbcda079695ade5def86673a9fe29995
cmd/gc: cleanup SWITCH nodes after walk.

Keeping pointers from the pre-walk phase confuses
the race detection instrumentation.

Fixes #6418.

R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/13368057
src/cmd/gc/swt.c
src/pkg/runtime/race/testdata/mop_test.go