From a80156026638b6605b636c16fa59e8206ff7635e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Mon, 23 Feb 2015 16:32:59 +0100 Subject: erts: Remove hashmap:new/0 --- erts/emulator/beam/bif.tab | 1 - erts/emulator/beam/erl_hashmap.c | 13 ------------- 2 files changed, 14 deletions(-) (limited to 'erts') diff --git a/erts/emulator/beam/bif.tab b/erts/emulator/beam/bif.tab index 7e92e58cab..e9c5e83203 100644 --- a/erts/emulator/beam/bif.tab +++ b/erts/emulator/beam/bif.tab @@ -616,7 +616,6 @@ bif erlang:get_keys/0 # Hash Array Mappped Trie bif hashmap:info/1 -bif hashmap:new/0 bif hashmap:merge/2 # diff --git a/erts/emulator/beam/erl_hashmap.c b/erts/emulator/beam/erl_hashmap.c index 06012950e1..29a14a9f20 100644 --- a/erts/emulator/beam/erl_hashmap.c +++ b/erts/emulator/beam/erl_hashmap.c @@ -66,19 +66,6 @@ static Eterm hashmap_bld_tuple_uint(Uint **hpp, Uint *szp, Uint n, Uint nums[]); /* hashmap:new/0 */ -BIF_RETTYPE hashmap_new_0(BIF_ALIST_0) { - Eterm* hp; - hashmap_head_t *head; - - hp = HAlloc(BIF_P, HAMT_HEAD_EMPTY_SZ); - head = (hashmap_head_t *) hp; - - head->thing_word = MAP_HEADER_HAMT_HEAD_BITMAP(0); - head->size = 0; - - BIF_RET(make_hashmap(head)); -} - /* hashmap:put/3 */ /* hashmap:update/3 */ -- cgit v1.2.3