diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-02-19 17:19:31 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:26 +0100 |
commit | 7da662fb9eb519625b3833fec34419c32620f041 (patch) | |
tree | 2d7c8fad2e9e469a754fde76e81a5c0f50b756a1 /erts/emulator/beam/beam_emu.c | |
parent | 903740ac57b00d404f430876b82cb21e0bb684a3 (diff) | |
download | otp-7da662fb9eb519625b3833fec34419c32620f041.tar.gz otp-7da662fb9eb519625b3833fec34419c32620f041.tar.bz2 otp-7da662fb9eb519625b3833fec34419c32620f041.zip |
erts: Move erlang:is_hashmap/1 to maps
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index b734d34872..034436e975 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -699,7 +699,7 @@ void** beam_ops; Fail; \ } -#define IsMap(Src, Fail) if (is_not_map(Src)) { Fail; } +#define IsMap(Src, Fail) if (is_not_map(Src) && is_not_hashmap(Src)) { Fail; } #define HasMapField(Src, Key, Fail) if (has_not_map_field(Src, Key)) { Fail; } |