aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_op.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-02-19 17:19:31 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:26 +0100
commit7da662fb9eb519625b3833fec34419c32620f041 (patch)
tree2d7c8fad2e9e469a754fde76e81a5c0f50b756a1 /erts/emulator/beam/erl_bif_op.c
parent903740ac57b00d404f430876b82cb21e0bb684a3 (diff)
downloadotp-7da662fb9eb519625b3833fec34419c32620f041.tar.gz
otp-7da662fb9eb519625b3833fec34419c32620f041.tar.bz2
otp-7da662fb9eb519625b3833fec34419c32620f041.zip
erts: Move erlang:is_hashmap/1 to maps
Diffstat (limited to 'erts/emulator/beam/erl_bif_op.c')
-rw-r--r--erts/emulator/beam/erl_bif_op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_op.c b/erts/emulator/beam/erl_bif_op.c
index 37dd6457db..11c6c9e556 100644
--- a/erts/emulator/beam/erl_bif_op.c
+++ b/erts/emulator/beam/erl_bif_op.c
@@ -324,7 +324,7 @@ BIF_RETTYPE is_record_3(BIF_ALIST_3)
BIF_RETTYPE is_map_1(BIF_ALIST_1)
{
- if (is_map(BIF_ARG_1)) {
+ if (is_map(BIF_ARG_1) || is_hashmap(BIF_ARG_1)) {
BIF_RET(am_true);
}
BIF_RET(am_false);