diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2022-12-01 18:00:42 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2023-01-26 21:56:56 +0000 |
| commit | 13c70b12d7562a841cd03cfce7ecc8f14a8190e8 (patch) | |
| tree | d56cba0e91a5c59448213b1d1ce6e95180462238 /src/runtime/debug | |
| parent | f0b1563535bf548d989d7bd4647dd698232e4467 (diff) | |
| download | go-13c70b12d7562a841cd03cfce7ecc8f14a8190e8.tar.xz | |
cmd/compile/internal/types: remove Markdcl/Pushdcl/Popdcl
Sym.Def used to be used for symbol resolution during the
old (pre-types2) typechecker. But since moving to types2-based IR
construction, we haven't really had a need for Sym.Def to ever refer
to anything but the package-scope definition, because types2 handles
symbol resolution for us.
This CL finally removes the Markdcl/Pushdcl/Popdcl functions that have
been a recurring source of issues in the past.
Change-Id: I2b012a0f17203efdd724ebd1e9314bd128cc2d61
Reviewed-on: https://go-review.googlesource.com/c/go/+/458625
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions
