aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/memclr_wasm.s
diff options
context:
space:
mode:
authorMichael Munday <mike.munday@ibm.com>2018-05-21 11:22:00 +0100
committerMichael Munday <mike.munday@ibm.com>2018-05-21 13:18:16 +0000
commitf2cde55cd60993e948dada9187d25211ec150a5e (patch)
tree8813b3f36f5d77e7931068fec72ce2077484663f /src/runtime/memclr_wasm.s
parent5654114d04291be151ff1b1dda09d5b96e0601fa (diff)
downloadgo-f2cde55cd60993e948dada9187d25211ec150a5e.tar.gz
go-f2cde55cd60993e948dada9187d25211ec150a5e.zip
runtime: use Go function signatures for memclr and memmove comments
The function signatures in the comments used a C-like style. Using Go function signatures is cleaner. Change-Id: I1a093ed8fe5df59f3697c613cf3fce58bba4f5c1 Reviewed-on: https://go-review.googlesource.com/113876 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/memclr_wasm.s')
-rw-r--r--src/runtime/memclr_wasm.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memclr_wasm.s b/src/runtime/memclr_wasm.s
index d011c84549..68ffe2f67b 100644
--- a/src/runtime/memclr_wasm.s
+++ b/src/runtime/memclr_wasm.s
@@ -4,7 +4,7 @@
#include "textflag.h"
-// void runtime·memclrNoHeapPointers(void*, uintptr)
+// func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-16
MOVD ptr+0(FP), R0
MOVD n+8(FP), R1