]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove special handling for OpRISCV64SUBW in markUnsafePoints
authorJoel Sing <joel@sing.id.au>
Mon, 9 Mar 2020 16:27:44 +0000 (03:27 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 10 Mar 2020 16:25:09 +0000 (16:25 +0000)
commit9f74f0afa6270e6735c1b6f59519cc88ff2ed1e4
tree0c1fe31fd224be67b4a391c2c25c33ac2d46a575
parentda07c59f246dad0119c486559bee89c86a8fc952
cmd/compile: remove special handling for OpRISCV64SUBW in markUnsafePoints

Due to improved optimisation, we no longer emit SUBW for the write barrier
checks on riscv64, hence remove special handling in markUnsafePoints.

Change-Id: Ia1150c3e11f25e183735e58f8716a511d9e90fb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/222638
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/plive.go