]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: revert most of CL 349169
authorKeith Randall <khr@golang.org>
Fri, 22 Oct 2021 01:09:07 +0000 (18:09 -0700)
committerKeith Randall <khr@golang.org>
Mon, 25 Oct 2021 20:40:00 +0000 (20:40 +0000)
commit72b6a89ca5cd3c3bfd13b9b17be976e8feb91ecc
tree33ae337d469279e66244406c6e2c506aefdaa41b
parent0ae0d5c62eae1a4043d1d9cb41acc563a5e75daa
cmd/compile: revert most of CL 349169

The method of using references to dictionaries to hold methods
live during linker deadcode elimination wasn't working very well.
I implemented a new scheme in the CL below this, so this CL strips
out the old method.

The new method has the added benefit of having 0 runtime overhead
(unlike the stuff we're ripping out here, which does have a small overhead).

Update #48047

Change-Id: I68ac57119792d53c58f1480f407de6ab2bb53211
Reviewed-on: https://go-review.googlesource.com/c/go/+/357836
Trust: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/noder/helpers.go
src/cmd/compile/internal/noder/stencil.go
src/cmd/compile/internal/noder/transform.go