diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-04 00:54:06 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-04 00:54:06 -0400 |
| commit | e3edfea07f905916cee66121576b029cd6a11444 (patch) | |
| tree | a86ddfc5ae7333371708dd0041fb6ac052694309 /src/pkg/runtime/malloc.h | |
| parent | 32ecf57d22cfdf3af9419db515eba85fa1d5b67d (diff) | |
| download | go-e3edfea07f905916cee66121576b029cd6a11444.tar.xz | |
runtime: correct various Go -> C function calls
Some things get converted.
Other things (too complex or too many C deps) get onM calls.
Other things (too simple) get #pragma textflag NOSPLIT.
After this CL, the offending function list is basically:
- panic.c
- netpoll.goc
- mem*.c
- race stuff
- readgstatus
- entersyscall/exitsyscall
LGTM=r, iant
R=golang-codereviews, r, iant
CC=dvyukov, golang-codereviews, khr
https://golang.org/cl/140930043
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index d9a2bf84ba..5441691940 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -578,7 +578,7 @@ extern bool runtime·fingwake; extern FinBlock *runtime·finq; // list of finalizers that are to be executed extern FinBlock *runtime·finc; // cache of free blocks -void runtime·setprofilebucket(void *p, Bucket *b); +void runtime·setprofilebucket_m(void); bool runtime·addfinalizer(void*, FuncVal *fn, uintptr, Type*, PtrType*); void runtime·removefinalizer(void*); |
