]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: turn race detector off for tail-call method wrapper functions
authorRuss Cox <rsc@golang.org>
Wed, 12 Jun 2013 02:37:07 +0000 (22:37 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 12 Jun 2013 02:37:07 +0000 (22:37 -0400)
commite440354c404cccf93be1a764353c2ccb278cefbf
treea6e02bd5267cde0a44cb3427307633b8c64aad62
parente50e4f7ec1c25017dc8e906c752375e43a8a38a3
cmd/gc: turn race detector off for tail-call method wrapper functions

It was off in the old implementation (because there was no high-level
description of the function at all). Maybe some day the race detector
should be fixed to handle the wrapper and then enabled for it, but there's
no reason that has to be today.

R=golang-dev
TBR=dvyukov
CC=golang-dev
https://golang.org/cl/10037045
src/cmd/gc/go.h
src/cmd/gc/racewalk.c
src/cmd/gc/subr.c