]> Cypherpunks repositories - gostls13.git/commit
runtime: add missing write barriers in append's copy of slice data
authorRuss Cox <rsc@golang.org>
Tue, 23 Dec 2014 03:42:05 +0000 (22:42 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 6 Jan 2015 00:26:45 +0000 (00:26 +0000)
commita73c1cef070a33527c869d36a763ea265f689fe3
tree287c7aa774df19d838d621bb57a05bc338f841ea
parentdcec123a4923437242c52d2693ace80d2f3c704e
runtime: add missing write barriers in append's copy of slice data

Found with GODEBUG=wbshadow=1 mode.
Eventually that will run automatically, but right now
it still detects other missing write barriers.

Change-Id: Ic8624401d7c8225a935f719f96f2675c6f5c0d7c
Reviewed-on: https://go-review.googlesource.com/2064
Reviewed-by: Rick Hudson <rlh@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/slice.go