aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-04-25 14:18:00 +0200
committerLukas Larsson <[email protected]>2017-04-25 14:18:00 +0200
commit483e3fb7b81e352944226b7d230e6a8685576982 (patch)
treeafb1e99b530c4d4ff52166ee0ed7f7b8cc466f8a /lib/compiler/src
parent8ca868848600702696828d729387343d73311a50 (diff)
parenteec41eeed17682a4e1f8ca15d92a2b469f0c39b8 (diff)
downloadotp-483e3fb7b81e352944226b7d230e6a8685576982.tar.gz
otp-483e3fb7b81e352944226b7d230e6a8685576982.tar.bz2
otp-483e3fb7b81e352944226b7d230e6a8685576982.zip
Merge branch 'lukas/erts/list_to_port/OTP-14348'
* lukas/erts/list_to_port/OTP-14348: erts: Add erlang:list_to_port/1 debug bif erts: Auto-import port_to_list for consistency erts: Polish off erlang:list_to_ref/1
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/erl_bifs.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index d60f73d421..b1f1db6fa3 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -108,11 +108,14 @@ is_pure(erlang, list_to_binary, 1) -> true;
is_pure(erlang, list_to_float, 1) -> true;
is_pure(erlang, list_to_integer, 1) -> true;
is_pure(erlang, list_to_pid, 1) -> true;
+is_pure(erlang, list_to_port, 1) -> true;
+is_pure(erlang, list_to_ref, 1) -> true;
is_pure(erlang, list_to_tuple, 1) -> true;
is_pure(erlang, max, 2) -> true;
is_pure(erlang, min, 2) -> true;
is_pure(erlang, phash, 2) -> false;
is_pure(erlang, pid_to_list, 1) -> true;
+is_pure(erlang, port_to_list, 1) -> true;
is_pure(erlang, round, 1) -> true;
is_pure(erlang, setelement, 3) -> true;
is_pure(erlang, size, 1) -> true;