diff options
| author | David Chase <drchase@google.com> | 2023-01-20 16:41:57 -0500 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2023-05-05 14:59:28 +0000 |
| commit | bdc6ae579aa86d21183c612c8c37916f397afaa8 (patch) | |
| tree | cc63ff843ab5a7f3c196c8fa2c74924bfee61d93 /src/runtime/debuglog.go | |
| parent | dace96b9a12905b34af609eedaa6b43e30e7cdb1 (diff) | |
| download | go-bdc6ae579aa86d21183c612c8c37916f397afaa8.tar.xz | |
internal/abi: refactor (basic) type struct into one definition
This touches a lot of files, which is bad, but it is also good,
since there's N copies of this information commoned into 1.
The new files in internal/abi are copied from the end of the stack;
ultimately this will all end up being used.
Change-Id: Ia252c0055aaa72ca569411ef9f9e96e3d610889e
Reviewed-on: https://go-review.googlesource.com/c/go/+/462995
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/debuglog.go')
| -rw-r--r-- | src/runtime/debuglog.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/debuglog.go b/src/runtime/debuglog.go index b18774e6c0..873f1b45bd 100644 --- a/src/runtime/debuglog.go +++ b/src/runtime/debuglog.go @@ -277,7 +277,7 @@ func (l *dlogger) p(x any) *dlogger { l.w.uvarint(0) } else { v := efaceOf(&x) - switch v._type.kind & kindMask { + switch v._type.Kind_ & kindMask { case kindChan, kindFunc, kindMap, kindPtr, kindUnsafePointer: l.w.uvarint(uint64(uintptr(v.data))) default: |
