diff options
| author | Keith Randall <khr@golang.org> | 2016-03-16 21:51:17 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-03-17 20:13:24 +0000 |
| commit | 15ed37d7b79721ad2077290f844d25e3e42a7821 (patch) | |
| tree | 8ab14dbdc445b759a262cfaaaee8818e553684bb /src/encoding/binary/binary.go | |
| parent | 16029babe24c516230399205a74becb2c215e11a (diff) | |
| download | go-15ed37d7b79721ad2077290f844d25e3e42a7821.tar.xz | |
cmd/compile: enforce nowritebarrier in SSA compiler
Make sure we don't generate write barriers in runtime
code that is marked to forbid write barriers.
Implement the optimization that if we're writing a sliced
slice back to the location it came from, we don't need a
write barrier.
Fixes #14784
Change-Id: I04b6a3b2ac303c19817e932a36a3b006de103aaa
Reviewed-on: https://go-review.googlesource.com/20791
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions
