aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/lfstack_32bit.go
blob: 0eebbd9740fa8aed454d8f3e95fdf9839ab967da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2014 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build 386 arm

package runtime

// On 32-bit systems, the stored uint64 has a 32-bit pointer and 32-bit count.
const (
	lfPtrBits   = 32
	lfCountMask = 1<<32 - 1
)