]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/obj: change writer to use new-style accessors
authorCherry Zhang <cherryyz@google.com>
Wed, 8 Apr 2020 17:24:27 +0000 (13:24 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 9 Apr 2020 16:36:46 +0000 (16:36 +0000)
commit88d6d37b77c9fa5a9b499596210cf285287955c7
treeb317f69c2bd5841b6356c7f2cf78ecddfddbacea
parentd9c51620b975f315f7cfbd4d8312f4dd21ba5242
[dev.link] cmd/internal/obj: change writer to use new-style accessors

Introduce field setters and use them on the writer side. Now we
are able to eliminate the old-style types.

Change-Id: I650d837328dc02f9be839d16a31812be86721b91
Reviewed-on: https://go-review.googlesource.com/c/go/+/227640
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/internal/goobj2/objfile.go
src/cmd/internal/obj/objfile2.go