summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCholerae Hu <choleraehyq@gmail.com>2020-06-09 13:53:39 +0800
committerKeith Randall <khr@golang.org>2020-06-22 16:13:31 +0000
commitb486bd896720cd5a40bc39771a8dbe332fce7ffe (patch)
tree19639084b99b2cdffe6b4aaea3e93c86b09224a7
parent60f78765022a59725121d3b800268adffe78bde3 (diff)
downloadgo-git-b486bd896720cd5a40bc39771a8dbe332fce7ffe.tar.gz
runtime: fix comment about memequal implementation locations
Change-Id: I9ae3f462a6a6b3809de14b0d08f369524b636d57 Reviewed-on: https://go-review.googlesource.com/c/go/+/237097 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
-rw-r--r--src/runtime/stubs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stubs.go b/src/runtime/stubs.go
index 2c6f027c2c..b891a12fdd 100644
--- a/src/runtime/stubs.go
+++ b/src/runtime/stubs.go
@@ -130,7 +130,7 @@ func fastrandn(n uint32) uint32 {
//go:linkname sync_fastrand sync.fastrand
func sync_fastrand() uint32 { return fastrand() }
-// in asm_*.s
+// in internal/bytealg/equal_*.s
//go:noescape
func memequal(a, b unsafe.Pointer, size uintptr) bool