aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-03-06 19:07:10 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-03-17 17:47:35 +0100
commit2890335ec4ecee6888d184a6dc73c7fc227c0566 (patch)
tree563f272deda4dd27e856f9ad92c7dc60cd07ac60 /lib
parent54a53c31e4bff25aef79d1624361b52407f572ab (diff)
downloadotp-2890335ec4ecee6888d184a6dc73c7fc227c0566.tar.gz
otp-2890335ec4ecee6888d184a6dc73c7fc227c0566.tar.bz2
otp-2890335ec4ecee6888d184a6dc73c7fc227c0566.zip
compiler: Guard BIF is_map/1 is pure
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/erl_bifs.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index 3ad3c8c690..6c75538194 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -91,6 +91,7 @@ is_pure(erlang, is_float, 1) -> true;
is_pure(erlang, is_function, 1) -> true;
is_pure(erlang, is_integer, 1) -> true;
is_pure(erlang, is_list, 1) -> true;
+is_pure(erlang, is_map, 1) -> true;
is_pure(erlang, is_number, 1) -> true;
is_pure(erlang, is_pid, 1) -> true;
is_pure(erlang, is_port, 1) -> true;