aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_ranges.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-24 15:42:02 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:04 +0100
commita23f25a3014dbad01d2016dc4e6d6df9d59ba64c (patch)
tree52c142a4d78eddcde0fdb526d531239e0638f6f3 /erts/emulator/beam/beam_ranges.c
parent72cab3a723925d0e369466d7de7567d8482b1318 (diff)
downloadotp-a23f25a3014dbad01d2016dc4e6d6df9d59ba64c.tar.gz
otp-a23f25a3014dbad01d2016dc4e6d6df9d59ba64c.tar.bz2
otp-a23f25a3014dbad01d2016dc4e6d6df9d59ba64c.zip
erts: Rename "loader" code_ix as "staging" code_ix
Staging is a better and more general name as does not necessary need to involve code loading (can be deletion, tracing, etc).
Diffstat (limited to 'erts/emulator/beam/beam_ranges.c')
-rw-r--r--erts/emulator/beam/beam_ranges.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/beam/beam_ranges.c b/erts/emulator/beam/beam_ranges.c
index ae701ea0c9..0fc8d9dbfd 100644
--- a/erts/emulator/beam/beam_ranges.c
+++ b/erts/emulator/beam/beam_ranges.c
@@ -78,9 +78,9 @@ erts_init_ranges(void)
}
void
-erts_start_load_ranges(void)
+erts_start_staging_ranges(void)
{
- ErtsCodeIndex dst = erts_loader_code_ix();
+ ErtsCodeIndex dst = erts_staging_code_ix();
if (r[dst].modules) {
erts_smp_atomic_add_nob(&mem_used, -r[dst].allocated);
@@ -90,9 +90,9 @@ erts_start_load_ranges(void)
}
void
-erts_end_load_ranges(int commit)
+erts_end_staging_ranges(int commit)
{
- ErtsCodeIndex dst = erts_loader_code_ix();
+ ErtsCodeIndex dst = erts_staging_code_ix();
if (commit && r[dst].modules == NULL) {
Sint i;
@@ -123,7 +123,7 @@ erts_end_load_ranges(int commit)
void
erts_update_ranges(BeamInstr* code, Uint size)
{
- ErtsCodeIndex dst = erts_loader_code_ix();
+ ErtsCodeIndex dst = erts_staging_code_ix();
ErtsCodeIndex src = erts_active_code_ix();
Sint i;
Sint n;