mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
Update outdated comment.
This commit is contained in:
parent
622db2ffca
commit
6d6a447144
|
@ -2810,7 +2810,7 @@ func runtimeStructField(field StructField) (structField, string) {
|
|||
|
||||
// typeptrdata returns the length in bytes of the prefix of t
|
||||
// containing pointer data. Anything after this offset is scalar data.
|
||||
// keep in sync with ../cmd/compile/internal/2048/reflect.go
|
||||
// keep in sync with ../cmd/compile/internal/reflectdata/reflect.go
|
||||
func typeptrdata(t *rtype) uintptr {
|
||||
switch t.Kind() {
|
||||
case Struct:
|
||||
|
|
Loading…
Reference in a new issue