diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-12-02 13:17:28 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-12-07 16:27:52 +0100 |
commit | c97f3332aeddf039ee2207196229b9ff07047c72 (patch) | |
tree | c41468e4ee7b98a1abd1c1bc92460f14affb62cc /erts/emulator/beam/erl_process_dict.h | |
parent | f67a7375e19734c3f7d6947b0dcf608d0fe1c8fa (diff) | |
download | otp-c97f3332aeddf039ee2207196229b9ff07047c72.tar.gz otp-c97f3332aeddf039ee2207196229b9ff07047c72.tar.bz2 otp-c97f3332aeddf039ee2207196229b9ff07047c72.zip |
erts: Add i_get_hash instruction
Calculate hashvalue in load-time for constant process dictionary gets.
Diffstat (limited to 'erts/emulator/beam/erl_process_dict.h')
-rw-r--r-- | erts/emulator/beam/erl_process_dict.h | 1 |
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 cc53800eb5..9aa21b7c38 100644 --- a/erts/emulator/beam/erl_process_dict.h +++ b/erts/emulator/beam/erl_process_dict.h @@ -39,5 +39,6 @@ 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); +Eterm erts_pd_hash_get_with_hx(Process *p, Uint32 hx, Eterm id); #endif |