aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process_dict.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-10 15:05:26 +0200
committerSverker Eriksson <[email protected]>2016-10-10 15:10:57 +0200
commitb1070efa22f18e19bc7c55fd69e0796f48abf256 (patch)
tree479494b3bdceef5378b81f90da438cd270bc76ef /erts/emulator/beam/erl_process_dict.h
parentc5a826b3d3a80726473fd9c2a7bea58b4363a993 (diff)
downloadotp-b1070efa22f18e19bc7c55fd69e0796f48abf256.tar.gz
otp-b1070efa22f18e19bc7c55fd69e0796f48abf256.tar.bz2
otp-b1070efa22f18e19bc7c55fd69e0796f48abf256.zip
erts: Refactor process dict hash pre-calculation
with new function erts_pd_make_hx()
Diffstat (limited to 'erts/emulator/beam/erl_process_dict.h')
-rw-r--r--erts/emulator/beam/erl_process_dict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process_dict.h b/erts/emulator/beam/erl_process_dict.h
index 387562058c..db5e1c7442 100644
--- a/erts/emulator/beam/erl_process_dict.h
+++ b/erts/emulator/beam/erl_process_dict.h
@@ -43,6 +43,7 @@ void erts_deep_dictionary_dump(int to, void *to_arg,
Eterm erts_dictionary_copy(struct process *p, ProcDict *pd);
Eterm erts_pd_hash_get(struct process *p, Eterm id);
+Uint32 erts_pd_make_hx(Eterm key);
Eterm erts_pd_hash_get_with_hx(Process *p, Uint32 hx, Eterm id);
#endif