]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: further reduce unnecessary field reading
authorCherry Zhang <cherryyz@google.com>
Mon, 17 Feb 2020 04:37:47 +0000 (23:37 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 19 Feb 2020 22:00:45 +0000 (22:00 +0000)
commitc4ccd08a253406aac49744a3852d7a28894ac5dd
treef598a5c95b48a77dea46abcaf58b6b7dd6ce543a
parent25f1b093fe02d87c879b1d8d030dc1c65aad7c78
[dev.link] cmd/link: further reduce unnecessary field reading

Following CL 218479, there are more places where we don't need to
read all the fields.

Change-Id: I70889cd3f0514ef2c542317f3fe24f5ef99b41d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/220057
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/deadcode2.go