diff options
Diffstat (limited to 'src/pkg/runtime/malloc.c')
| -rw-r--r-- | src/pkg/runtime/malloc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pkg/runtime/malloc.c b/src/pkg/runtime/malloc.c index 951117622f..be3280e0f1 100644 --- a/src/pkg/runtime/malloc.c +++ b/src/pkg/runtime/malloc.c @@ -35,12 +35,6 @@ runtime·mallocgc(uintptr size, Type *typ, uint32 flag) return ret; } -void* -runtime·malloc(uintptr size) -{ - return runtime·mallocgc(size, nil, FlagNoInvokeGC); -} - int32 runtime·mlookup(void *v, byte **base, uintptr *size, MSpan **sp) { @@ -399,12 +393,6 @@ runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat) // Runtime stubs. -void* -runtime·mal(uintptr n) -{ - return runtime·mallocgc(n, nil, 0); -} - static void* cnew(Type *typ, intgo n) { |
