Commit 21518ea2 authored by Russ Cox's avatar Russ Cox

runtime: free old hashmap pieces during resizing

R=r
CC=golang-dev
https://golang.org/cl/1254044
parent 84edc2e9
......@@ -64,7 +64,6 @@
*/
#define malloc mal
#define free(a) USED(a)
#define offsetof(s,m) (uint32)(&(((s*)0)->m))
#define memset(a,b,c) ·memclr((byte*)(a), (uint32)(c))
#define memcpy(a,b,c) mcpy((byte*)(a),(byte*)(b),(uint32)(c))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment