aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/malloc.go')
-rw-r--r--src/runtime/malloc.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index 2144ea602a..c08bc7574b 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -2202,15 +2202,6 @@ func memclrNoHeapPointersChunked(size uintptr, x unsafe.Pointer) {
}
}
-// memclrNoHeapPointersPreemptible is the compiler-callable entry point
-// for clearing large buffers with preemption support. It has the same
-// signature as memclrNoHeapPointers so the compiler can emit calls to it
-// directly. It delegates to memclrNoHeapPointersChunked which splits the
-// work into 256KB chunks with preemption checks between them.
-func memclrNoHeapPointersPreemptible(ptr unsafe.Pointer, n uintptr) {
- memclrNoHeapPointersChunked(n, ptr)
-}
-
// implementation of new builtin
// compiler (both frontend and SSA backend) knows the signature
// of this function.