aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-20 17:42:50 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:00 +0100
commit28a1a227f8097c5c593149f66a98a1b1cf796e99 (patch)
treec9afd7f630e23b80c34e89a831b7e8a459387265 /erts/emulator/beam/global.h
parent0ebc1871238508783733423825d22967f5096d19 (diff)
downloadotp-28a1a227f8097c5c593149f66a98a1b1cf796e99.tar.gz
otp-28a1a227f8097c5c593149f66a98a1b1cf796e99.tar.bz2
otp-28a1a227f8097c5c593149f66a98a1b1cf796e99.zip
erts: Rename erts_load_module to erts_preload_module
As it can only be used at initialization for preloading
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index e6ff9d8577..6a3c36824b 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -878,8 +878,8 @@ Eterm erts_prepare_loading(struct LoaderState*, Process *c_p,
byte* code, Uint size);
Eterm erts_finish_loading(struct LoaderState* stp, Process* c_p,
ErtsProcLocks c_p_locks, Eterm* modp);
-Eterm erts_load_module(Process *c_p, ErtsProcLocks c_p_locks,
- Eterm group_leader, Eterm* mod, byte* code, Uint size);
+Eterm erts_preload_module(Process *c_p, ErtsProcLocks c_p_locks,
+ Eterm group_leader, Eterm* mod, byte* code, Uint size);
void init_load(void);
BeamInstr* find_function_from_pc(BeamInstr* pc);
Eterm* erts_build_mfa_item(FunctionInfo* fi, Eterm* hp,