Skip to content

Commit ecfddf4

Browse files
committed
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 <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 82e929e commit ecfddf4

File tree

1 file changed

+1
-0
lines changed
  • src/cmd/compile/internal/base

1 file changed

+1
-0
lines changed

src/cmd/compile/internal/base/flag.go

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ func ParseFlags() {
184184
Debug.SyncFrames = -1 // disable sync markers by default
185185
Debug.ZeroCopy = 1
186186
Debug.RangeFuncCheck = 1
187+
Debug.MergeLocals = 1
187188

188189
Debug.Checkptr = -1 // so we can tell whether it is set explicitly
189190

0 commit comments

Comments
 (0)