aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-01-08 09:45:09 +0100
committerBjörn Gustavsson <[email protected]>2019-01-11 14:53:58 +0100
commitaa5858203fedf89b97197cbaaf009ddcdbb5f641 (patch)
tree666203b94f6f2eeb5d0fec3d006e14cd6acb0c88 /lib/compiler/src
parente72e7e0c978b9a07a9eca6d48ac9028d8b0fa9a5 (diff)
downloadotp-aa5858203fedf89b97197cbaaf009ddcdbb5f641.tar.gz
otp-aa5858203fedf89b97197cbaaf009ddcdbb5f641.tar.bz2
otp-aa5858203fedf89b97197cbaaf009ddcdbb5f641.zip
erl_bif: Mark is_map/1 as safe
Diffstat (limited to 'lib/compiler/src')
-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 ce9762899e..d925decce6 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -195,6 +195,7 @@ is_safe(erlang, is_float, 1) -> true;
is_safe(erlang, is_function, 1) -> true;
is_safe(erlang, is_integer, 1) -> true;
is_safe(erlang, is_list, 1) -> true;
+is_safe(erlang, is_map, 1) -> true;
is_safe(erlang, is_number, 1) -> true;
is_safe(erlang, is_pid, 1) -> true;
is_safe(erlang, is_port, 1) -> true;