aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/bif.tab1
-rw-r--r--erts/emulator/beam/erl_hashmap.c13
2 files changed, 0 insertions, 14 deletions
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 */