diff options
author | Sverker Eriksson <[email protected]> | 2016-10-17 11:50:01 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-10-17 11:50:01 +0200 |
commit | a28149b2500a4db9b3c56b168dcd18effca87a3a (patch) | |
tree | d54a14edf81a2d7cd159cc21655d6053273d3f8c | |
parent | 2b2de6173d4ba5506ae9b1692a19e01cf0d299c8 (diff) | |
download | otp-a28149b2500a4db9b3c56b168dcd18effca87a3a.tar.gz otp-a28149b2500a4db9b3c56b168dcd18effca87a3a.tar.bz2 otp-a28149b2500a4db9b3c56b168dcd18effca87a3a.zip |
erts: Cleanup dead code
-rw-r--r-- | erts/emulator/beam/module.c | 9 | ||||
-rw-r--r-- | erts/emulator/beam/module.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/beam/module.c b/erts/emulator/beam/module.c index 3e622c0f3a..705dd1d43f 100644 --- a/erts/emulator/beam/module.c +++ b/erts/emulator/beam/module.c @@ -171,15 +171,6 @@ erts_put_module(Eterm mod) return put_module(mod, &module_tables[erts_staging_code_ix()]); } -Module* -erts_put_active_module(Eterm mod) -{ - ASSERT(is_atom(mod)); - //SVERK Why not? ERTS_SMP_LC_ASSERT(erts_smp_thr_progress_is_blocking()); - - return put_module(mod, &module_tables[erts_active_code_ix()]); -} - Module *module_code(int i, ErtsCodeIndex code_ix) { return (Module*) erts_index_lookup(&module_tables[code_ix], i); diff --git a/erts/emulator/beam/module.h b/erts/emulator/beam/module.h index 1d6d9dd463..8f44e11f3d 100644 --- a/erts/emulator/beam/module.h +++ b/erts/emulator/beam/module.h @@ -52,7 +52,6 @@ typedef struct erl_module { void erts_module_instance_init(struct erl_module_instance* modi); Module* erts_get_module(Eterm mod, ErtsCodeIndex code_ix); Module* erts_put_module(Eterm mod); -Module* erts_put_active_module(Eterm mod); /* only while blocked */ void init_module_table(void); void module_start_staging(void); |