mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
161ba662b1
commit
e359bea8ad
6 changed files with 36 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue