]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move sinit.go globals into InitSchedule
authorMatthew Dempsky <mdempsky@google.com>
Mon, 25 Mar 2019 19:35:42 +0000 (12:35 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 28 Mar 2019 19:51:18 +0000 (19:51 +0000)
commitd23bf3daa9384a8c30d3231b5f02d0bea481415e
treec0860c7ac13ac87af78240c879a4428c4c8bf190
parent57bd57745431da4aeb85d6caae145e5f4dfbca38
cmd/compile: move sinit.go globals into InitSchedule

Eliminates global state from sinit.go.

Passes toolstash-check.

Updates #22326.

Change-Id: Ie3cb14bff625baa20134d1488962ab02d24f0c15
Reviewed-on: https://go-review.googlesource.com/c/go/+/169899
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/sinit.go