]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: make build cache tag sensitive to GOSSADIR; remove unused
authorDavid Chase <drchase@google.com>
Wed, 21 Apr 2021 14:28:27 +0000 (10:28 -0400)
committerDavid Chase <drchase@google.com>
Fri, 23 Apr 2021 14:06:54 +0000 (14:06 +0000)
GOSSADIR is a useful compiler flag for debugging.
Removed GO_SSA_PHI_LOC_CUTOFF, it is no longer mentioned in the compiler.

Change-Id: I3600f4c6ded95c9d34b85a6f0da6ba89b17a13ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/312290
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/internal/work/exec.go

index a68bdd6d29accc573c638f23457e6eb4a5309abb..ab9ce88c3ce535d3f3f97c5b3c4d7f3c2aaf70d5 100644 (file)
@@ -289,7 +289,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
                magic := []string{
                        "GOCLOBBERDEADHASH",
                        "GOSSAFUNC",
-                       "GO_SSA_PHI_LOC_CUTOFF",
+                       "GOSSADIR",
                        "GOSSAHASH",
                }
                for _, env := range magic {