diff options
author | Austin Clements <austin@google.com> | 2018-01-15 12:27:17 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-02-13 16:34:46 +0000 |
commit | 20101894078199a3a9014ca99ec4e2a0a16a0869 (patch) | |
tree | 8e7ff5c0fcc37243fcd39ba23ea2976503712f63 /src/cmd/compile/internal/ssa/export_test.go | |
parent | 245310883dcae717bb662b22d5b1fd07fdd59b76 (diff) | |
download | go-20101894078199a3a9014ca99ec4e2a0a16a0869.tar.gz go-20101894078199a3a9014ca99ec4e2a0a16a0869.zip |
runtime: remove legacy eager write barrier
Now that the buffered write barrier is implemented for all
architectures, we can remove the old eager write barrier
implementation. This CL removes the implementation from the runtime,
support in the compiler for calling it, and updates some compiler
tests that relied on the old eager barrier support. It also makes sure
that all of the useful comments from the old write barrier
implementation still have a place to live.
Fixes #22460.
Updates #21640 since this fixes the layering concerns of the write
barrier (but not the other things in that issue).
Change-Id: I580f93c152e89607e0a72fe43370237ba97bae74
Reviewed-on: https://go-review.googlesource.com/92705
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
-rw-r--r-- | src/cmd/compile/internal/ssa/export_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/export_test.go b/src/cmd/compile/internal/ssa/export_test.go index 28ae494505..d1d6831eb3 100644 --- a/src/cmd/compile/internal/ssa/export_test.go +++ b/src/cmd/compile/internal/ssa/export_test.go @@ -134,7 +134,6 @@ func (d DummyFrontend) Log() bool { return true } func (d DummyFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) } func (d DummyFrontend) Warnl(_ src.XPos, msg string, args ...interface{}) { d.t.Logf(msg, args...) } func (d DummyFrontend) Debug_checknil() bool { return false } -func (d DummyFrontend) Debug_eagerwb() bool { return false } var dummyTypes Types |