diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-12-09 10:23:20 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-12-09 10:23:20 +0100 |
commit | 7fb587a24b340dd94378a06bd12282a966f7ae24 (patch) | |
tree | 6bc407f960fe612afabc87fb086627d0bbb6a354 /erts/emulator/beam/beam_emu.c | |
parent | ebfca92e52ca3c857bf3873639b274c9ef851160 (diff) | |
parent | c97f3332aeddf039ee2207196229b9ff07047c72 (diff) | |
download | otp-7fb587a24b340dd94378a06bd12282a966f7ae24.tar.gz otp-7fb587a24b340dd94378a06bd12282a966f7ae24.tar.bz2 otp-7fb587a24b340dd94378a06bd12282a966f7ae24.zip |
Merge branch 'egil/pd-opt-get/OTP-13167'
* egil/pd-opt-get/OTP-13167:
erts: Add i_get_hash instruction
erts: Use internal hash for process dictionaries
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 30cc0c6814..4d7b00b032 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -3558,6 +3558,16 @@ do { \ StoreBifResult(1, result); } + OpCase(i_get_hash_cId): + { + Eterm arg; + Eterm result; + + GetArg1(0, arg); + result = erts_pd_hash_get_with_hx(c_p, Arg(1), arg); + StoreBifResult(2, result); + } + { Eterm case_end_val; |