diff options
| author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2019-09-27 16:42:46 +0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2019-10-05 23:00:37 +0000 |
| commit | 1cb61b80bd286e322acf62344496bb71147df4d0 (patch) | |
| tree | fcd6cb3275328982c8267964151f878925ef371d /src/runtime/type.go | |
| parent | 80fb18e3c0136150965f0bc01c9ef1e6dc4039ac (diff) | |
| download | go-1cb61b80bd286e322acf62344496bb71147df4d0.tar.xz | |
runtime: add doc to remind adopting changes to reflectlite
Updates #34486
Change-Id: Iec9a5d120013aaa287eccf2999b3f2b831be070e
Reviewed-on: https://go-review.googlesource.com/c/go/+/197558
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/type.go')
| -rw-r--r-- | src/runtime/type.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/type.go b/src/runtime/type.go index 9fb6558a32..af1fa2e1ca 100644 --- a/src/runtime/type.go +++ b/src/runtime/type.go @@ -14,6 +14,7 @@ import "unsafe" // cmd/compile/internal/gc/reflect.go // cmd/link/internal/ld/decodesym.go // reflect/type.go +// internal/reflectlite/type.go type tflag uint8 const ( @@ -26,6 +27,7 @@ const ( // Needs to be in sync with ../cmd/link/internal/ld/decodesym.go:/^func.commonsize, // ../cmd/compile/internal/gc/reflect.go:/^func.dcommontype and // ../reflect/type.go:/^type.rtype. +// ../internal/reflectlite/type.go:/^type.rtype. type _type struct { size uintptr ptrdata uintptr // size of memory prefix holding all pointers |
