aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc_32bit.go
diff options
context:
space:
mode:
authorChressie Himpel <chressie@google.com>2022-02-03 19:10:54 +0100
committerChressie Himpel <chressie@google.com>2022-02-03 19:30:02 +0100
commite14fee553a4646d15123caa04f7ca6ddb7b48362 (patch)
tree26086b9981918546f946d12547d097eb0974cc2e /src/runtime/mpagealloc_32bit.go
parentd382493a20cf005c6631032ebb410a7c2bc768eb (diff)
parent8384fe86a5b7f579a50c7ad423d4dd4eb2d1f117 (diff)
downloadgo-e14fee553a4646d15123caa04f7ca6ddb7b48362.tar.xz
[dev.boringcrypto] all: merge master into dev.boringcrypto
Change-Id: I18dbf4f9fa7e2334fccedd862a523126cf38164e
Diffstat (limited to 'src/runtime/mpagealloc_32bit.go')
-rw-r--r--src/runtime/mpagealloc_32bit.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/runtime/mpagealloc_32bit.go b/src/runtime/mpagealloc_32bit.go
index 1d863f2fda..8c83b93412 100644
--- a/src/runtime/mpagealloc_32bit.go
+++ b/src/runtime/mpagealloc_32bit.go
@@ -2,19 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build 386 || arm || mips || mipsle || wasm || (ios && arm64)
+//go:build 386 || arm || mips || mipsle || wasm
// wasm is a treated as a 32-bit architecture for the purposes of the page
// allocator, even though it has 64-bit pointers. This is because any wasm
// pointer always has its top 32 bits as zero, so the effective heap address
// space is only 2^32 bytes in size (see heapAddrBits).
-// ios/arm64 is treated as a 32-bit architecture for the purposes of the
-// page allocator, even though it has 64-bit pointers and a 33-bit address
-// space (see heapAddrBits). The 33 bit address space cannot be rounded up
-// to 64 bits because there are too many summary levels to fit in just 33
-// bits.
-
package runtime
import "unsafe"