mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
fixed hash_map_resize() - added Map/WeakMap in microbench
This commit is contained in:
@@ -46186,7 +46186,6 @@ static void map_hash_resize(JSContext *ctx, JSMapState *s)
|
||||
sizeof(new_hash_table[0]) * new_hash_size, &slack);
|
||||
if (!new_hash_table)
|
||||
return;
|
||||
new_hash_size += slack / sizeof(*new_hash_table);
|
||||
|
||||
for(i = 0; i < new_hash_size; i++)
|
||||
init_list_head(&new_hash_table[i]);
|
||||
|
Reference in New Issue
Block a user