aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db_util.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-10-25 16:28:50 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-01-28 17:06:42 +0100
commit457b29c9ddd2b338e80916a5e7bad8dfe4b36ffc (patch)
tree7e38c35c51f7fc01bb929aaee08e1c9b611f7b96 /erts/emulator/beam/erl_db_util.c
parent6868557c0244140ea7709822e8f7a0ba26029b21 (diff)
downloadotp-457b29c9ddd2b338e80916a5e7bad8dfe4b36ffc.tar.gz
otp-457b29c9ddd2b338e80916a5e7bad8dfe4b36ffc.tar.bz2
otp-457b29c9ddd2b338e80916a5e7bad8dfe4b36ffc.zip
erts,stdlib: Teach matchspec compiler map guards
Diffstat (limited to 'erts/emulator/beam/erl_db_util.c')
-rw-r--r--erts/emulator/beam/erl_db_util.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_util.c b/erts/emulator/beam/erl_db_util.c
index d903053aa4..3986ccd4d3 100644
--- a/erts/emulator/beam/erl_db_util.c
+++ b/erts/emulator/beam/erl_db_util.c
@@ -566,6 +566,12 @@ static DMCGuardBif guard_tab[] =
DBIF_ALL
},
{
+ am_is_map,
+ &is_map_1,
+ 1,
+ DBIF_ALL
+ },
+ {
am_is_binary,
&is_binary_1,
1,
@@ -632,6 +638,12 @@ static DMCGuardBif guard_tab[] =
DBIF_ALL
},
{
+ am_map_size,
+ &map_size_1,
+ 1,
+ DBIF_ALL
+ },
+ {
am_bit_size,
&bit_size_1,
1,