]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: cleanup unified IR file format a little
authorMatthew Dempsky <mdempsky@google.com>
Tue, 20 Jul 2021 23:52:37 +0000 (16:52 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 21 Jul 2021 01:29:21 +0000 (01:29 +0000)
commit897970688b326f7baa8ad8e3330fb552d94b0014
treeb5d15c69d32ea4e5ae110b812fa3f44363fcfd7a
parentd5f6ba943c4e8f39d1bd20c79f4e9274ad10c103
[dev.typeparams] cmd/compile: cleanup unified IR file format a little

This CL makes two changes:

1. It moves object symbols and code tags into a new "relocName"
relocation, which should eventually allow getting rid of objStub.

2. It moves the type parameter data into the relocObjDict relocation,
so everything related to writing out dictionaries is contained there.

Change-Id: If0f7ff7d9384e8664957c3180bf6f20e97bcff6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/336051
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/linker.go
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/reader2.go
src/cmd/compile/internal/noder/reloc.go
src/cmd/compile/internal/noder/sync.go
src/cmd/compile/internal/noder/unified.go
src/cmd/compile/internal/noder/writer.go