]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: remove 'ext' fields from unified IR reader/writer types
authorMatthew Dempsky <mdempsky@google.com>
Wed, 8 Sep 2021 00:24:50 +0000 (17:24 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 9 Sep 2021 01:07:21 +0000 (01:07 +0000)
commit42563f89d7093ab22e1ac42351e66c4d03e0c80e
tree1db103ff1b02d98addce3e85a13650b403257412
parent4c52eac49b7e3f2a107419583012e5251ccbfde9
cmd/compile: remove 'ext' fields from unified IR reader/writer types

This is a vestigial artifact of how I initially split apart the public
and private data for objects. But now objects are split into more
parts, and it's proven easier to just keep them as separate variables.
So it's time to cleanup the initial public/private code to follow the
same approach.

Change-Id: I3976b19fb433cbe21d299d3799ec616f9e59561e
Reviewed-on: https://go-review.googlesource.com/c/go/+/348412
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/unified.go
src/cmd/compile/internal/noder/writer.go