From 6b2ad9ef50a279569e1146dcc8593badae2dbcd4 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Mon, 1 May 2023 15:23:42 -0400 Subject: cmd/compile: remove debugging option InlineSCCOnePass from inliner Delete the "InlineSCCOnePass" debugging flag and the inliner fallback code that kicks in if it is used. The change it was intended to guard has been working on tip for some time, no need for the fallback any more. Updates #58905. Change-Id: I2e1dbc7640902d9402213db5ad338be03deb96c5 Reviewed-on: https://go-review.googlesource.com/c/go/+/492015 Reviewed-by: Cherry Mui Reviewed-by: Matthew Dempsky Run-TryBot: Than McIntosh TryBot-Result: Gopher Robot --- src/cmd/compile/internal/base/debug.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cmd/compile/internal/base/debug.go') diff --git a/src/cmd/compile/internal/base/debug.go b/src/cmd/compile/internal/base/debug.go index 81e8ed645d..ec20b18134 100644 --- a/src/cmd/compile/internal/base/debug.go +++ b/src/cmd/compile/internal/base/debug.go @@ -32,7 +32,6 @@ type DebugFlags struct { InlFuncsWithClosures int `help:"allow functions with closures to be inlined" concurrent:"ok"` InlStaticInit int `help:"allow static initialization of inlined calls" concurrent:"ok"` InterfaceCycles int `help:"allow anonymous interface cycles"` - InlineSCCOnePass int `help:"visit SCC funcs only once during inlining (legacy behavior)"` Libfuzzer int `help:"enable coverage instrumentation for libfuzzer"` LoopVar int `help:"shared (0, default), 1 (private loop variables), 2, private + log"` LoopVarHash string `help:"for debugging changes in loop behavior. Overrides experiment and loopvar flag."` -- cgit v1.3-5-g9baa