1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:34:40 -07:00

runtime: free old hashmap pieces during resizing

R=r
CC=golang-dev
https://golang.org/cl/1254044
This commit is contained in:
Russ Cox 2010-05-24 14:31:10 -07:00
parent 84edc2e980
commit 21518ea2af

View File

@ -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))