diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-02-26 14:45:38 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:29 +0100 |
commit | f7ee6181417f05670e2e733085dd7f038d6f30f8 (patch) | |
tree | 514d5d97fc1640d2cc46a037b740414da742d6a0 /erts/emulator/beam/erl_map.h | |
parent | 02c573ba7fee64cc65ec7c7ee286aa9ce5415546 (diff) | |
download | otp-f7ee6181417f05670e2e733085dd7f038d6f30f8.tar.gz otp-f7ee6181417f05670e2e733085dd7f038d6f30f8.tar.bz2 otp-f7ee6181417f05670e2e733085dd7f038d6f30f8.zip |
erts: Handle hashmap in get_map_element(s) instructions
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
-rw-r--r-- | erts/emulator/beam/erl_map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_map.h b/erts/emulator/beam/erl_map.h index 7fddc9c240..7175e653d9 100644 --- a/erts/emulator/beam/erl_map.h +++ b/erts/emulator/beam/erl_map.h @@ -92,8 +92,9 @@ int erts_validate_and_sort_map(map_t* map); void hashmap_iterator_init(struct ErtsWStack_* s, Eterm node); Eterm* hashmap_iterator_next(struct ErtsWStack_* s); int hashmap_key_hash_cmp(Eterm* ap, Eterm* bp); -Eterm erts_hashmap_get(Eterm key, Eterm map); Eterm erts_hashmap_from_array(Process *p, Eterm *leafs, Uint n); +Eterm erts_hashmap_insert(Process *p, Uint32 hx, Eterm key, Eterm val, Eterm node, int is_update); +const Eterm *erts_hashmap_get(Uint32 hx, Eterm key, Eterm map); #if HALFWORD_HEAP const Eterm * |