]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: add write barrier in copy of function parameters to heap
authorRuss Cox <rsc@golang.org>
Mon, 29 Dec 2014 16:47:04 +0000 (11:47 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 6 Jan 2015 00:27:49 +0000 (00:27 +0000)
commite5ef657264ef9b7c0bcd9b5c437fea2d602a2030
treec93ef433b71a4c38ad58fb98e10c8fd49136efa7
parent54bb4dc3906578403aca1c57b482761a6824f079
cmd/gc: add write barrier in copy of function parameters to heap

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

Change-Id: I1320d5340a9e421c779f24f3b170e33974e56e4f
Reviewed-on: https://go-review.googlesource.com/2278
Reviewed-by: Rick Hudson <rlh@golang.org>
src/cmd/gc/typecheck.c
src/cmd/gc/walk.c