diff options
Diffstat (limited to 'src/runtime/malloc.c')
-rw-r--r-- | src/runtime/malloc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/malloc.c b/src/runtime/malloc.c index e5c7e0959..cfb698ac2 100644 --- a/src/runtime/malloc.c +++ b/src/runtime/malloc.c @@ -21,10 +21,6 @@ MHeap runtime·mheap; #pragma dataflag NOPTR MStats runtime·memstats; -Type* runtime·conservative; - -void runtime·gc_notype_ptr(Eface*); - int32 runtime·mlookup(void *v, byte **base, uintptr *size, MSpan **sp) { @@ -115,7 +111,6 @@ runtime·mallocinit(void) uintptr limit; uint64 i; bool reserved; - Eface notype_eface; p = nil; p_size = 0; @@ -243,9 +238,6 @@ runtime·mallocinit(void) // Initialize the rest of the allocator. runtime·MHeap_Init(&runtime·mheap); g->m->mcache = runtime·allocmcache(); - - runtime·gc_notype_ptr(¬ype_eface); - runtime·conservative = notype_eface.type; } void* |