aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-04-05 14:11:56 +0200
committerSverker Eriksson <[email protected]>2017-04-05 14:38:10 +0200
commit9c4a807cc1b83a6918c0ccf19cdc3837d746f53b (patch)
tree371d56b7e303988f21f59f46ae4d86e55578fa20 /erts/preloaded
parentcbaddb165393002bd76f4d70247662588d3dee26 (diff)
downloadotp-9c4a807cc1b83a6918c0ccf19cdc3837d746f53b.tar.gz
otp-9c4a807cc1b83a6918c0ccf19cdc3837d746f53b.tar.bz2
otp-9c4a807cc1b83a6918c0ccf19cdc3837d746f53b.zip
erts: Remove hipe_bifs:remove_refs_from/1
which serves no purpose after all the hipe load&purge fixes merged at 32729cab75325de58bf127e6e8836348071b8682
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/ebin/init.beambin50096 -> 49240 bytes
-rw-r--r--erts/preloaded/src/init.erl8
2 files changed, 0 insertions, 8 deletions
diff --git a/erts/preloaded/ebin/init.beam b/erts/preloaded/ebin/init.beam
index 92eedd73d8..29442b493f 100644
--- a/erts/preloaded/ebin/init.beam
+++ b/erts/preloaded/ebin/init.beam
Binary files differ
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl
index 3dc6953b4c..14e3bf0c61 100644
--- a/erts/preloaded/src/init.erl
+++ b/erts/preloaded/src/init.erl
@@ -674,16 +674,8 @@ do_unload([M|Mods]) ->
catch erlang:purge_module(M),
do_unload(Mods);
do_unload([]) ->
- purge_all_hipe_refs(),
ok.
-purge_all_hipe_refs() ->
- case erlang:system_info(hipe_architecture) of
- undefined -> ok;
- _ -> hipe_bifs:remove_refs_from(all)
- end.
-
-
sub([H|T],L) -> sub(T,del(H,L));
sub([],L) -> L.