]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/typecheck: merge SubstArgTypes into LookupRuntime
authorMatthew Dempsky <mdempsky@google.com>
Sun, 20 Aug 2023 23:14:50 +0000 (16:14 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 22 Aug 2023 21:17:13 +0000 (21:17 +0000)
commit08a08083c13c1e5dfc320f71d3a1602b5c628599
tree0c13394deca5d72daa482c3f10233c569f350b1d
parentc6dd97e533d480d9a972682c9357a07fc87b51ab
cmd/compile/internal/typecheck: merge SubstArgTypes into LookupRuntime

LookupRuntime is the only reason for using SubstArgTypes, and most
callers to LookupRuntime need to immediately call it anyway. So might
as well fuse them together.

Change-Id: Ie0724ed164b949040e898a2a77bea632801b64fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/521415
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/compare/compare.go
src/cmd/compile/internal/reflectdata/alg.go
src/cmd/compile/internal/typecheck/syms.go
src/cmd/compile/internal/walk/assign.go
src/cmd/compile/internal/walk/builtin.go
src/cmd/compile/internal/walk/convert.go
src/cmd/compile/internal/walk/range.go
src/cmd/compile/internal/walk/walk.go