aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/hipe_unified_loader.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-18 09:46:51 +0100
committerBjörn Gustavsson <[email protected]>2011-11-26 07:32:12 +0100
commit541c5040ceb8822b423f4362d7a8efad7d70a4e2 (patch)
tree3cf2f4c52819095ec5b930a6b328e00cbd6b0c89 /lib/kernel/src/hipe_unified_loader.erl
parentcaf21d16b1495f474aa1109dff5695768d35ae20 (diff)
downloadotp-541c5040ceb8822b423f4362d7a8efad7d70a4e2.tar.gz
otp-541c5040ceb8822b423f4362d7a8efad7d70a4e2.tar.bz2
otp-541c5040ceb8822b423f4362d7a8efad7d70a4e2.zip
code: Clean up loading of code_server prerequisites
Reorganize in a systematic way the code that loads the modules needed by the code_server process. While at it, remove the useless hipe_unified_loader:load_hipe_modules/0 function.
Diffstat (limited to 'lib/kernel/src/hipe_unified_loader.erl')
-rw-r--r--lib/kernel/src/hipe_unified_loader.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/kernel/src/hipe_unified_loader.erl b/lib/kernel/src/hipe_unified_loader.erl
index 1d3eb926ca..8b3aa0286d 100644
--- a/lib/kernel/src/hipe_unified_loader.erl
+++ b/lib/kernel/src/hipe_unified_loader.erl
@@ -36,7 +36,6 @@
-export([chunk_name/1,
%% Only the code and code_server modules may call the entries below!
- load_hipe_modules/0,
load_native_code/2,
post_beam_load/1,
load_module/3,
@@ -78,16 +77,6 @@ chunk_name(Architecture) ->
%%========================================================================
--spec load_hipe_modules() -> 'ok'.
-%% @doc
-%% Ensures HiPE's loader modules are loaded.
-%% Called from code.erl at start-up.
-
-load_hipe_modules() ->
- ok.
-
-%%========================================================================
-
-spec load_native_code(Mod, binary()) -> 'no_native' | {'module', Mod}
when is_subtype(Mod, atom()).
%% @doc