diff options
author | Sverker Eriksson <[email protected]> | 2013-10-15 18:02:38 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-10-15 18:02:38 +0200 |
commit | 21270f86ab03d976ce3137c84d21e43ce6bc404b (patch) | |
tree | 98843d726d270f8f65fa4371761829117d01239a /erts/preloaded/src/erlang.erl | |
parent | fb43535f0dd910b9013bc0bddcdb0c27f0df53f0 (diff) | |
parent | 356c1e9312a640ac211b6d5d4110372742acfcde (diff) | |
download | otp-21270f86ab03d976ce3137c84d21e43ce6bc404b.tar.gz otp-21270f86ab03d976ce3137c84d21e43ce6bc404b.tar.bz2 otp-21270f86ab03d976ce3137c84d21e43ce6bc404b.zip |
Merge branch 'maint'
Conflicts:
erts/preloaded/ebin/erlang.beam
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 2026d9e6d2..aae7048fce 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -3499,6 +3499,8 @@ mk_res_list([]) -> mk_res_list([Alloc | Rest]) -> [{Alloc, []} | mk_res_list(Rest)]. +insert_instance(I, N, Rest) when erlang:is_atom(N) -> + [{N, I} | Rest]; insert_instance(I, N, []) -> [{instance, N, I}]; insert_instance(I, N, [{instance, M, _}|_] = Rest) when N < M -> |