]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: fix comment about memequal implementation locations
authorCholerae Hu <choleraehyq@gmail.com>
Tue, 9 Jun 2020 05:53:39 +0000 (13:53 +0800)
committerKeith Randall <khr@golang.org>
Mon, 22 Jun 2020 16:13:31 +0000 (16:13 +0000)
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>
src/runtime/stubs.go

index 2c6f027c2c0a26dcf8c9ddeb4798bc454421d0fd..b891a12fddcd23c7ba07ed8376bed6eed1ae0d9d 100644 (file)
@@ -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