]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: minor writebarrier cleanup
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Apr 2017 13:00:18 +0000 (06:00 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Apr 2017 23:44:49 +0000 (23:44 +0000)
commit12c286c149583edbb08045cc8f518f0c90c7dc85
tree0c01e5313a6b76f2494989ae1605a8552593f3d4
parentfc08a19cef1b54cf6aad2fc1f8a298458d2e8d95
cmd/compile: minor writebarrier cleanup

This CL mainly moves some work to the switch on w.Op,
to make a follow-up change simpler and clearer.

Updates #19838

Change-Id: I86f3181c380dd60960afcc24224f655276b8956c
Reviewed-on: https://go-review.googlesource.com/42010
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/deadstore.go
src/cmd/compile/internal/ssa/writebarrier.go