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
This commit is contained in:
Keith Randall 2014-08-06 14:33:57 -07:00
parent 161ba662b1
commit e359bea8ad
6 changed files with 36 additions and 26 deletions

View file

@ -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;