]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove special cases for Method() and MethodByName().
authorDominique Lefevre <domingolefevre@gmail.com>
Thu, 24 Aug 2023 07:17:20 +0000 (10:17 +0300)
committerCherry Mui <cherryyz@google.com>
Fri, 1 Sep 2023 15:07:16 +0000 (15:07 +0000)
commit6b52bfa393a7f8942568e7a29816c673ff73f797
tree1c89172c6f2880cbb9e8038c676a9c02a9565878
parente802f211b0d3f9dac5c4ca56c9f83df0cb745070
cmd/link: remove special cases for Method() and MethodByName().

There is no more need to do this in the linker. The compiler now
handles both Type.Method() and Value.Method(), and flags their
users as ReflectMethod.

Change-Id: Ice93d5d975a1b93a324471e8abdebdce141d17d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/522437
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/link/internal/ld/deadcode.go