]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile: start setting RType fields for Unified IR
authorMatthew Dempsky <mdempsky@google.com>
Tue, 21 Jun 2022 07:57:18 +0000 (00:57 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 23 Jun 2022 21:52:45 +0000 (21:52 +0000)
commit7368647ac6eecd57a476616ff1f3ac1aa7f445b6
tree5a61c96f3727a9d71481579bc33dbc575409d38d
parent5960f4ec10e175714145d5ffa1b37d282b7a2157
[dev.unified] cmd/compile: start setting RType fields for Unified IR

This CL switches the GOEXPERIMENT=unified frontend to set RType fields
in the simpler cases, and to make it fatal if they're missing.

Subsequent CLs will handle the remaining more complex cases (e.g.,
expressions from later desugaring, and implicit conversions to
interface type).

Change-Id: If6257dcb3916905afd9b8371ea64b85f108ebbfb
Reviewed-on: https://go-review.googlesource.com/c/go/+/413359
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/reflectdata/helpers.go