mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: stop constructing sudog type
The compiler doesn't care about the runtime's sudog type. Stop constructing it. Change-Id: If1885fe30b2e215a08d17662eab5ea6d81fe58ab Reviewed-on: https://go-review.googlesource.com/20797 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
65b4020403
commit
ac74e5debc
2 changed files with 2 additions and 19 deletions
|
|
@ -210,9 +210,6 @@ type gobuf struct {
|
|||
bp uintptr // for GOEXPERIMENT=framepointer
|
||||
}
|
||||
|
||||
// Known to compiler.
|
||||
// Changes here must also be made in src/cmd/compile/internal/gc/select.go's
|
||||
// selecttype.
|
||||
type sudog struct {
|
||||
// The following fields are protected by the hchan.lock of the
|
||||
// channel this sudog is blocking on. shrinkstack depends on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue