]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: propagate len([]T{}) to make builtin to allow stack allocation
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Fri, 26 Sep 2025 18:47:45 +0000 (20:47 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 2 Oct 2025 18:02:07 +0000 (11:02 -0700)
commit84db201ae18c889acdefe20c8a903b188328f16d
treee77673d97ea38e5225def5cc4e2558e62e3b76e9
parent5799c139a77e9c3a5750c90ebda538131f4517d6
cmd/compile: propagate len([]T{}) to make builtin to allow stack allocation

Updates #75620

Change-Id: I6a6a6964af4512e30eb4806e1dc7b0fd0835744f
Reviewed-on: https://go-review.googlesource.com/c/go/+/707255
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/cmd/compile/internal/escape/escape.go
test/escape_make_non_const.go