diff options
author | Russ Cox <rsc@golang.org> | 2014-12-09 10:15:18 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-12-12 20:48:10 +0000 |
commit | 557a61d270f101c0983e6aca9b271cc854526d28 (patch) | |
tree | 9dcacbd28e9dbccb90e6047c351e9d9d38cd49bf /.gitattributes | |
parent | 2fa657c5d618c24ab306075a1415c9a0ca96c44a (diff) | |
download | go-git-557a61d270f101c0983e6aca9b271cc854526d28.tar.gz |
cmd/gc: add //go:nowritebarrier to diagnose unintended write barriers
//go:nowritebarrier can only be used in package runtime.
It does not disable write barriers; it is an assertion, checked
by the compiler, that the following function needs no write
barriers.
Change-Id: Id7978b779b66dc1feea39ee6bda9fd4d80280b7c
Reviewed-on: https://go-review.googlesource.com/1224
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions