mirror of
https://github.com/golang/go
synced 2024-11-20 01:44:42 -07:00
runtime: free old hashmap pieces during resizing
R=r CC=golang-dev https://golang.org/cl/1254044
This commit is contained in:
parent
84edc2e980
commit
21518ea2af
@ -64,7 +64,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define malloc mal
|
#define malloc mal
|
||||||
#define free(a) USED(a)
|
|
||||||
#define offsetof(s,m) (uint32)(&(((s*)0)->m))
|
#define offsetof(s,m) (uint32)(&(((s*)0)->m))
|
||||||
#define memset(a,b,c) ·memclr((byte*)(a), (uint32)(c))
|
#define memset(a,b,c) ·memclr((byte*)(a), (uint32)(c))
|
||||||
#define memcpy(a,b,c) mcpy((byte*)(a),(byte*)(b),(uint32)(c))
|
#define memcpy(a,b,c) mcpy((byte*)(a),(byte*)(b),(uint32)(c))
|
||||||
|
Loading…
Reference in New Issue
Block a user