]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/noder: prune unified IR's dictionary logic
authorMatthew Dempsky <mdempsky@google.com>
Sat, 6 Aug 2022 22:27:30 +0000 (15:27 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 10 Aug 2022 23:27:37 +0000 (23:27 +0000)
commit29b07037b1066cae8ec9e35f87d461700b6de600
tree65b1dd973edcccefe20f1b7a237e28ccb7bcd2ac
parent88635b3862502bce1676621546c75e549b008ed0
cmd/compile/internal/noder: prune unified IR's dictionary logic

Unified IR uses static dictionaries for some itabs and function/method
expressions, and they're roughly the right idea. But at the same time,
they're actually somewhat brittle and I need to reorganize some ideas
anyway to get shaped-based stenciling working. So this CL just rips
them out entirely.

Note: the code for emitting runtime dictionaries with *runtime._type
symbols is still present, and continues to demonstrate that basic
runtime dictionary handling is working.

Change-Id: I44eb1c7974fb397909ad5db12987659e7505c2ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/421819
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/writer.go