diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-02-23 16:27:53 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:28 +0100 |
commit | 9f0fccbd5e45cd11aecfd782c0dbc121c3895af6 (patch) | |
tree | a1560442123d5329894c2174061385c81d9e8f4f /erts/emulator/beam/erl_hashmap.h | |
parent | 73885d5d098a58aa6a4e226d075ee90b24045c66 (diff) | |
download | otp-9f0fccbd5e45cd11aecfd782c0dbc121c3895af6.tar.gz otp-9f0fccbd5e45cd11aecfd782c0dbc121c3895af6.tar.bz2 otp-9f0fccbd5e45cd11aecfd782c0dbc121c3895af6.zip |
erts: Move hashmap:from_list/1 to maps
Diffstat (limited to 'erts/emulator/beam/erl_hashmap.h')
-rw-r--r-- | erts/emulator/beam/erl_hashmap.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/erts/emulator/beam/erl_hashmap.h b/erts/emulator/beam/erl_hashmap.h index 5a9aa05f61..7ac33b34b0 100644 --- a/erts/emulator/beam/erl_hashmap.h +++ b/erts/emulator/beam/erl_hashmap.h @@ -24,20 +24,10 @@ #include "sys.h" #include "erl_term.h" -Eterm erts_hashmap_get(Eterm key, Eterm map); int hashmap_key_hash_cmp(Eterm* ap, Eterm* bp); -Eterm erts_hashmap_from_array(Process *p, Eterm *leafs, Uint n); /* HASH */ -#if defined(__GNUC__) -#define hashmap_clz(x) ((Uint32) __builtin_clz((unsigned int)(x))) -#define hashmap_bitcount(x) ((Uint32) __builtin_popcount((unsigned int) (x))) -#else -Uint32 hashmap_clz(Uint32 x); -Uint32 hashmap_bitcount(Uint32 x); -#endif - /* hamt nodes v2.0 * * node :: leaf | array | bitmap @@ -49,8 +39,6 @@ typedef struct hashmap_head_s { Eterm items[1]; } hashmap_head_t; - - /* thing_word tagscheme * Need two bits for map subtags * |