diff options
| author | Keith Randall <khr@golang.org> | 2014-08-06 14:33:57 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-08-06 14:33:57 -0700 |
| commit | e359bea8ad0b381c1b28dd7c74ca17e17a7f3324 (patch) | |
| tree | 79eaa610a0f25c761d6ad9d07c31081b1902e536 /src/pkg/runtime/malloc.c | |
| parent | 161ba662b19ca0ed367883c6d9233fc00c10654f (diff) | |
| download | go-e359bea8ad0b381c1b28dd7c74ca17e17a7f3324.tar.xz | |
runtime: clean up naming of mcallable functions.
Introduce the mFunction type to represent an mcall/onM-able function.
Name such functions using _m.
LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/121320043
Diffstat (limited to 'src/pkg/runtime/malloc.c')
| -rw-r--r-- | src/pkg/runtime/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/runtime/malloc.c b/src/pkg/runtime/malloc.c index d56d0dcf31..951117622f 100644 --- a/src/pkg/runtime/malloc.c +++ b/src/pkg/runtime/malloc.c @@ -514,7 +514,7 @@ throw: } void -runtime·setFinalizer(void) +runtime·setFinalizer_m(void) { Eface obj, finalizer; @@ -531,13 +531,13 @@ runtime·setFinalizer(void) // mcallable cache refill void -runtime·mcacheRefill(void) +runtime·mcacheRefill_m(void) { runtime·MCache_Refill(g->m->mcache, (int32)g->m->scalararg[0]); } void -runtime·largeAlloc(void) +runtime·largeAlloc_m(void) { uintptr npages, size; MSpan *s; |
