diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2023-08-18 18:03:24 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-20 05:56:51 +0000 |
| commit | a2ec545e0a811bb67a48bcbb017b6da4f537781d (patch) | |
| tree | f11031f6b6f199405bc9364f3ba3bd5d02f940e2 /src/cmd/compile/internal/devirtualize/devirtualize.go | |
| parent | 009ca22fe2936c9a7a5a9e5364fe061688b27697 (diff) | |
| download | go-a2ec545e0a811bb67a48bcbb017b6da4f537781d.tar.xz | |
cmd/compile/internal/typecheck: add NewMethodExpr helper
This CL refactors the common pattern for constructing OMETHEXPR nodes,
which is the most common use of ir.TypeNode currently.
Change-Id: I446a21af97ab5a4bc2f04bbd581c1ede8a5ede60
Reviewed-on: https://go-review.googlesource.com/c/go/+/520978
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/devirtualize/devirtualize.go')
0 files changed, 0 insertions, 0 deletions
