diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-06 19:06:25 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-17 17:47:35 +0100 |
commit | 54a53c31e4bff25aef79d1624361b52407f572ab (patch) | |
tree | 7e949408d31b0c046fbb4ac67af4442a73218993 /erts/emulator/beam | |
parent | 70c968442a8e2afbae7fa485527920006bfe2031 (diff) | |
download | otp-54a53c31e4bff25aef79d1624361b52407f572ab.tar.gz otp-54a53c31e4bff25aef79d1624361b52407f572ab.tar.bz2 otp-54a53c31e4bff25aef79d1624361b52407f572ab.zip |
erts: Handle literals in is_map/1
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/ops.tab | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index 73630fda8e..68fcc177ae 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -1484,7 +1484,8 @@ new_map j d I I update_map_assoc j s d I I update_map_exact j s d I I -is_map Fail cq => jump Fail +is_map Fail Literal=q => move Literal x | is_map Fail x +is_map Fail c => jump Fail %macro: is_map IsMap -fail_action is_map f r |