]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: review of sanitize.go
authorRobert Griesemer <gri@golang.org>
Sat, 20 Feb 2021 04:06:24 +0000 (20:06 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Feb 2021 04:51:48 +0000 (04:51 +0000)
commit6a40dd05d833b2bd78eb68ac67d7e860edff6878
treec9a2ac7f61642951eff43662dc13e958df9a2b4e
parent975ba6e2b2547e0c4065a09644686723704283e1
cmd/compile/internal/types2: review of sanitize.go

Remove the "// UNREVIEWED" marker and add guards (as in go/types)
to prevent data races. To see the added guards, see compare patch
sets 3 and 4. The equivalent changes for go/types were done in
https://golang.org/cl/294411.

Change-Id: Ibef07eaae400bd32bff32b102cc743580290d135
Reviewed-on: https://go-review.googlesource.com/c/go/+/294510
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/sanitize.go