diff options
author | Robert Griesemer <gri@golang.org> | 2017-04-19 15:15:49 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2017-04-19 22:51:21 +0000 |
commit | 1368977a0869c408c8b001bc4142e5b73267f8c8 (patch) | |
tree | 02d10c88f7391c960e8a3092b969f255506d8eef /src/cmd/compile/internal/types/sym.go | |
parent | 33fd319cbcf9f4809c6bc9a9d21a05b516824f0a (diff) | |
download | go-1368977a0869c408c8b001bc4142e5b73267f8c8.tar.gz go-1368977a0869c408c8b001bc4142e5b73267f8c8.zip |
cmd/compile/internal/types: remove Sym.Link field
The dclstack is now a proper stack and thus we can implement it
using a slice rather than a linked list.
Change-Id: I200e85621ff76c111bdeb7eb382fd82da438f3ba
Reviewed-on: https://go-review.googlesource.com/41135
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types/sym.go')
-rw-r--r-- | src/cmd/compile/internal/types/sym.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types/sym.go b/src/cmd/compile/internal/types/sym.go index 1086b99fdd..af6eccc485 100644 --- a/src/cmd/compile/internal/types/sym.go +++ b/src/cmd/compile/internal/types/sym.go @@ -18,7 +18,6 @@ import ( // allows using Sym pointer equality to test for Go identifier uniqueness when // handling selector expressions. type Sym struct { - Link *Sym Importdef *Pkg // where imported definition was found Linkname string // link name |