aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/func.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2022-10-09 19:06:23 -0700
committerKeith Randall <khr@golang.org>2023-02-16 00:16:13 +0000
commit44d22e75dd9a0cbffbb04c9ce6d6bf9030634cc1 (patch)
tree125e8b26022e3004e987febed3658d085bf34d9f /src/cmd/compile/internal/ssa/func.go
parent6b5b7b3240ed635f58d25d292a345450c0937979 (diff)
downloadgo-44d22e75dd9a0cbffbb04c9ce6d6bf9030634cc1.tar.xz
cmd/compile: detect write barrier completion differently
Instead of keeping track of in which blocks write barriers complete, introduce a new op that marks the exact memory state where the write barrier completes. For future use. This allows us to move some of the write barrier code to between the start of the merging block and the WBend marker. Change-Id: If3809b260292667d91bf0ee18d7b4d0eb1e929f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/447777 Reviewed-by: Keith Randall <khr@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/func.go')
-rw-r--r--src/cmd/compile/internal/ssa/func.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cmd/compile/internal/ssa/func.go b/src/cmd/compile/internal/ssa/func.go
index b10911aa92..ba3d1e589e 100644
--- a/src/cmd/compile/internal/ssa/func.go
+++ b/src/cmd/compile/internal/ssa/func.go
@@ -64,12 +64,6 @@ type Func struct {
// AuxCall describing parameters and results for this function.
OwnAux *AuxCall
- // WBLoads is a list of Blocks that branch on the write
- // barrier flag. Safe-points are disabled from the OpLoad that
- // reads the write-barrier flag until the control flow rejoins
- // below the two successors of this block.
- WBLoads []*Block
-
freeValues *Value // free Values linked by argstorage[0]. All other fields except ID are 0/nil.
freeBlocks *Block // free Blocks linked by succstorage[0].b. All other fields except ID are 0/nil.