]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/noder: explicitly handle separate selectors
authorMatthew Dempsky <mdempsky@google.com>
Sat, 6 Aug 2022 03:40:45 +0000 (20:40 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 10 Aug 2022 23:27:27 +0000 (23:27 +0000)
commit88635b3862502bce1676621546c75e549b008ed0
tree89ad27d4f78bbb45038e178386fc9cc2d4a6e5b4
parent2e6ffd6c5d573d36e969ec8c21f70680493e58b9
cmd/compile/internal/noder: explicitly handle separate selectors

This CL separates out the handling of selector expressions for field
values, method values, and method expressions. Again part of
refactoring to make it possible to access runtime dictionaries where
needed.

No behavioral change; just duplicating and then streamlining the
existing code paths.

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