1// Copyright 2023 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package runtime
6
7// taggedPointer is a pointer with a numeric tag.
8// The size of the numeric tag is GOARCH-dependent,
9// currently at least 10 bits.
10// This should only be used with pointers allocated outside the Go heap.
11type taggedPointer uint64
12
13// minTagBits is the minimum number of tag bits that we expect.
14const minTagBits = 10
15