aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/erts_internal.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-10-12 16:01:43 +0200
committerLukas Larsson <[email protected]>2017-11-20 09:58:04 +0100
commit488049bd59352670ba4df17df7cc8a288b273b63 (patch)
tree12d684eff335a7d03f4e815fdfd5af0192399cbe /erts/preloaded/src/erts_internal.erl
parentf1666d981aab4e4cf94b91dc097675fa0b056c97 (diff)
downloadotp-488049bd59352670ba4df17df7cc8a288b273b63.tar.gz
otp-488049bd59352670ba4df17df7cc8a288b273b63.tar.bz2
otp-488049bd59352670ba4df17df7cc8a288b273b63.zip
erts: Remove erts_internal:maps_to_list/2
This function is no longer needed as maps:iterator has now been implemented.
Diffstat (limited to 'erts/preloaded/src/erts_internal.erl')
-rw-r--r--erts/preloaded/src/erts_internal.erl11
1 files changed, 1 insertions, 10 deletions
diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl
index efff76f1fa..83439f0279 100644
--- a/erts/preloaded/src/erts_internal.erl
+++ b/erts/preloaded/src/erts_internal.erl
@@ -32,7 +32,7 @@
-export([await_port_send_result/3]).
-export([cmp_term/2]).
-export([map_to_tuple_keys/1, term_type/1, map_hashmap_children/1,
- maps_to_list/2, map_next/3]).
+ map_next/3]).
-export([open_port/2, port_command/3, port_connect/2, port_close/1,
port_control/3, port_call/3, port_info/1, port_info/2]).
@@ -367,15 +367,6 @@ term_type(_T) ->
map_hashmap_children(_M) ->
erlang:nif_error(undefined).
-%% return a list of key value pairs, at most of length N
--spec maps_to_list(M,N) -> Pairs when
- M :: map(),
- N :: integer(),
- Pairs :: list().
-
-maps_to_list(_M, _N) ->
- erlang:nif_error(undefined).
-
%% return the next assoc in the iterator and a new iterator
-spec map_next(I, M, A) -> {K,V,NI} | list() when
I :: non_neg_integer(),