]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: update WBLoads during deadcode
authorKeith Randall <khr@google.com>
Tue, 29 May 2018 17:30:54 +0000 (10:30 -0700)
committerKeith Randall <khr@golang.org>
Tue, 29 May 2018 17:45:36 +0000 (17:45 +0000)
commitdb9341a02424a80a93ad50b362b881544b685e19
treee74be060e7d2626f6227a577acf5360d4461cc86
parentb65934f237f80242a907c46ef9cf103ad6959e9f
cmd/compile: update WBLoads during deadcode

When we deadcode-remove a block which is a write barrier test,
remove that block from the list of write barrier test blocks.

Fixes #25516

Change-Id: I1efe732d5476003eab4ad6bf67d0340d7874ff0c
Reviewed-on: https://go-review.googlesource.com/115037
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/deadcode.go
test/fixedbugs/issue25516.go [new file with mode: 0644]