aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-12-09 10:23:20 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-12-09 10:23:20 +0100
commit7fb587a24b340dd94378a06bd12282a966f7ae24 (patch)
tree6bc407f960fe612afabc87fb086627d0bbb6a354 /erts/emulator/beam/beam_emu.c
parentebfca92e52ca3c857bf3873639b274c9ef851160 (diff)
parentc97f3332aeddf039ee2207196229b9ff07047c72 (diff)
downloadotp-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.c10
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;