mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Update oudated comment
Update comment cause gc/select.go has been moved to walk/select.go and gc/reflect.go has been moved to reflectdata/reflect.go
Change-Id: I6894527e1e9dbca50ace92a51bf942f9495ce88c
GitHub-Last-Rev: 6d6a447144
GitHub-Pull-Request: golang/go#45976
Reviewed-on: https://go-review.googlesource.com/c/go/+/317191
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
2ca44fe221
commit
ce76298ee7
7 changed files with 16 additions and 16 deletions
|
|
@ -895,7 +895,7 @@ type funcinl struct {
|
|||
// layout of Itab known to compilers
|
||||
// allocated in non-garbage-collected memory
|
||||
// Needs to be in sync with
|
||||
// ../cmd/compile/internal/gc/reflect.go:/^func.WriteTabs.
|
||||
// ../cmd/compile/internal/reflectdata/reflect.go:/^func.WriteTabs.
|
||||
type itab struct {
|
||||
inter *interfacetype
|
||||
_type *_type
|
||||
|
|
@ -940,7 +940,7 @@ func extendRandom(r []byte, n int) {
|
|||
|
||||
// A _defer holds an entry on the list of deferred calls.
|
||||
// If you add a field here, add code to clear it in freedefer and deferProcStack
|
||||
// This struct must match the code in cmd/compile/internal/gc/reflect.go:deferstruct
|
||||
// This struct must match the code in cmd/compile/internal/reflectdata/reflect.go:deferstruct
|
||||
// and cmd/compile/internal/gc/ssa.go:(*state).call.
|
||||
// Some defers will be allocated on the stack and some on the heap.
|
||||
// All defers are logically part of the stack, so write barriers to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue