mirror of
https://github.com/golang/go
synced 2024-11-23 07:10:05 -07:00
runtime: fix file references in hiter's comments
The file "cmd/internal/gc/range.go" does not exist, but should be
"cmd/compile/internal/gc/range.go".
Change-Id: I26e5560b9d0b7eea8502c6b375e45fc87aed1276
GitHub-Last-Rev: 5f19dca7e9
GitHub-Pull-Request: golang/go#42391
Reviewed-on: https://go-review.googlesource.com/c/go/+/267837
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
This commit is contained in:
parent
8ab8125fbd
commit
db8142fb86
@ -162,8 +162,8 @@ type bmap struct {
|
||||
// If you modify hiter, also change cmd/compile/internal/gc/reflect.go to indicate
|
||||
// the layout of this structure.
|
||||
type hiter struct {
|
||||
key unsafe.Pointer // Must be in first position. Write nil to indicate iteration end (see cmd/internal/gc/range.go).
|
||||
elem unsafe.Pointer // Must be in second position (see cmd/internal/gc/range.go).
|
||||
key unsafe.Pointer // Must be in first position. Write nil to indicate iteration end (see cmd/compile/internal/gc/range.go).
|
||||
elem unsafe.Pointer // Must be in second position (see cmd/compile/internal/gc/range.go).
|
||||
t *maptype
|
||||
h *hmap
|
||||
buckets unsafe.Pointer // bucket ptr at hash_iter initialization time
|
||||
|
Loading…
Reference in New Issue
Block a user