]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reorganize write barrier code a bit
authorKeith Randall <khr@golang.org>
Mon, 10 Oct 2022 01:43:34 +0000 (18:43 -0700)
committerKeith Randall <khr@golang.org>
Thu, 16 Feb 2023 00:15:56 +0000 (00:15 +0000)
commit6b5b7b3240ed635f58d25d292a345450c0937979
tree1347b8c77d2d5b7cc962bdb710e916e4d6b4a3a3
parent0e42632301f17ae384e2cc1edb273860ed8f9fac
cmd/compile: reorganize write barrier code a bit

This exposes mightBeHeapPointer and mightContainHeapPointer which
I plan to use in future CLs.

Change-Id: Ice4ae3b33127936868fff6cc045d8703d0b1a79a
Reviewed-on: https://go-review.googlesource.com/c/go/+/447776
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/ssa/writebarrier.go