diff options
author | Sverker Eriksson <[email protected]> | 2017-04-05 14:11:56 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-04-05 14:38:10 +0200 |
commit | 9c4a807cc1b83a6918c0ccf19cdc3837d746f53b (patch) | |
tree | 371d56b7e303988f21f59f46ae4d86e55578fa20 /erts/preloaded | |
parent | cbaddb165393002bd76f4d70247662588d3dee26 (diff) | |
download | otp-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.beam | bin | 50096 -> 49240 bytes | |||
-rw-r--r-- | erts/preloaded/src/init.erl | 8 |
2 files changed, 0 insertions, 8 deletions
diff --git a/erts/preloaded/ebin/init.beam b/erts/preloaded/ebin/init.beam Binary files differindex 92eedd73d8..29442b493f 100644 --- a/erts/preloaded/ebin/init.beam +++ b/erts/preloaded/ebin/init.beam 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. |