aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_map.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-02 15:46:37 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:30 +0100
commit861a865cea33e0f8d84148dfbd64ab00beb1a54a (patch)
tree60a9e1aebb350d77f4cb8e077d5d00dea3ba63a6 /erts/emulator/beam/erl_map.h
parentdea2faefbbea2b2e80a43600f47833d47a208b32 (diff)
downloadotp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.tar.gz
otp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.tar.bz2
otp-861a865cea33e0f8d84148dfbd64ab00beb1a54a.zip
erts: Add make_internal_hash
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
-rw-r--r--erts/emulator/beam/erl_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_map.h b/erts/emulator/beam/erl_map.h
index 2d5c5c958c..3544189936 100644
--- a/erts/emulator/beam/erl_map.h
+++ b/erts/emulator/beam/erl_map.h
@@ -57,7 +57,7 @@ typedef struct map_s {
#define hashmap_size(x) (((hashmap_head_t*) hashmap_val(x))->size)
#define hashmap_size_rel(RTERM, BASE) hashmap_size(rterm2wterm(RTERM, BASE))
-#define hashmap_make_hash(Key) make_hash2(Key)
+#define hashmap_make_hash(Key) make_internal_hash(Key)
#define hashmap_restore_hash(Heap,Lvl,Key) \
(((Lvl) < 8) ? hashmap_make_hash(Key) >> (4*(Lvl)) : hashmap_make_hash(CONS(Heap, make_small((Lvl)>>3), (Key))) >> (4*((Lvl) & 7)))