1
0
mirror of https://github.com/golang/go synced 2024-11-15 07:40:47 -07:00

cmd/compile/internal/base: enable stack slot merging by default

Flag flip to enable stack slot merging by default when optimizing.
Please see the earlier CL for details on what this is doing.

Updates #62737.
Updates #65532.
Updates #65495.

Change-Id: I8e30d553e74ace43d418f883199721f05320d3d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/576681
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
Than McIntosh 2024-04-05 20:17:17 +00:00
parent 82e929e4f8
commit ecfddf4841

View File

@ -184,6 +184,7 @@ func ParseFlags() {
Debug.SyncFrames = -1 // disable sync markers by default Debug.SyncFrames = -1 // disable sync markers by default
Debug.ZeroCopy = 1 Debug.ZeroCopy = 1
Debug.RangeFuncCheck = 1 Debug.RangeFuncCheck = 1
Debug.MergeLocals = 1
Debug.Checkptr = -1 // so we can tell whether it is set explicitly Debug.Checkptr = -1 // so we can tell whether it is set explicitly