From e359bea8ad0b381c1b28dd7c74ca17e17a7f3324 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Wed, 6 Aug 2014 14:33:57 -0700 Subject: 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 --- src/pkg/runtime/malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pkg/runtime/malloc.c') 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; -- cgit v1.3-5-g9baa