]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: turn off variable-sized make() stack allocation with -N
authorKeith Randall <khr@golang.org>
Thu, 10 Apr 2025 19:46:52 +0000 (12:46 -0700)
committerKeith Randall <khr@google.com>
Sat, 12 Apr 2025 00:18:12 +0000 (17:18 -0700)
commit21acfdc4ef18fcf2e5e6114fe800fec0a10e493c
tree641f0a8b5fb4f361d4be34d7340a96d8fe2d9f96
parent03640f688b6ae069c72373d7aaa8d23784e456fc
cmd/compile: turn off variable-sized make() stack allocation with -N

Give people a way to turn this optimization off.

(Currently the constant-sized make() stack allocation is not disabled
with -N. Kinda inconsistent, but oh well, probably worse to change it now.)

Update #73253

Change-Id: Idb9ffde444f34e70673147fd6a962368904a7a55
Reviewed-on: https://go-review.googlesource.com/c/go/+/664655
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: t hepudds <thepudds1460@gmail.com>
src/cmd/compile/internal/walk/builtin.go