aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/erl_bifs.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-04-21 14:53:52 +0200
committerLukas Larsson <[email protected]>2017-04-25 14:16:38 +0200
commitab048d66c59fa827bf4129fc95bec21488a931a4 (patch)
tree743a89fa7cc06ff070cb60f98241a2c5d0053c35 /lib/compiler/src/erl_bifs.erl
parenteece23d7f6b225a6abc3807f9af44d1f742f7eee (diff)
downloadotp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.gz
otp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.bz2
otp-ab048d66c59fa827bf4129fc95bec21488a931a4.zip
erts: Auto-import port_to_list for consistency
Follow the same pattern as pid_to_list
Diffstat (limited to 'lib/compiler/src/erl_bifs.erl')
-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 3ee789e2ab..2eff9b4efb 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -114,6 +114,7 @@ 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;