]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark type namedata symbols content-addressable
authorCherry Zhang <cherryyz@google.com>
Mon, 28 Sep 2020 17:10:30 +0000 (13:10 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 29 Sep 2020 17:25:24 +0000 (17:25 +0000)
commit66770f4b1de37d9c5c962edb2980a70102e09ec3
tree80d377665152e21785b1312463a54d2852e35026
parent39dde09126be02f5f8c38ddf7590ae8f9825fcaa
cmd/compile: mark type namedata symbols content-addressable

Type namedata symbols are for type/field/method names and package
paths. We can use content-addressable symbol mechanism for them.

Change-Id: I923fda17b7094c7a0e46aad7c450622eb3826294
Reviewed-on: https://go-review.googlesource.com/c/go/+/257960
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/compile/internal/gc/reflect.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/sym.go
src/cmd/link/internal/loader/loader.go