diff options
| author | David Chase <drchase@google.com> | 2024-10-14 13:28:28 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2024-10-22 18:15:24 +0000 |
| commit | ad7f736d8f51ea03166b698256385c869968ae3e (patch) | |
| tree | 6bab2d04fb5dc99f962feed33a3177d672ec857e /src/encoding | |
| parent | a464ffda3e44c87de946cc29f719794a30e9b3f4 (diff) | |
| download | go-ad7f736d8f51ea03166b698256385c869968ae3e.tar.xz | |
cmd/compile: discount calls to closure variables
This causes more inlining for rangefunc code.
The PAUTOHEAP case catches closure-passed-as-param
to function that returns a closure, that calls the
outer PPARAM.
Change-Id: I927cf2e1924ed2191e0ad8be9a1f2e793b6f2b38
Reviewed-on: https://go-review.googlesource.com/c/go/+/620220
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
