diff options
author | Sverker Eriksson <[email protected]> | 2012-08-31 18:03:53 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-08-31 18:03:53 +0200 |
commit | e7b04a638b7a02f03d6ac44cb559c5febc22a9a8 (patch) | |
tree | 08f56ced805c968607d6fae3725e7e8f220fa117 /erts/emulator/beam/module.c | |
parent | 504653658791d46f0b4c60855377dc65585d1411 (diff) | |
download | otp-e7b04a638b7a02f03d6ac44cb559c5febc22a9a8.tar.gz otp-e7b04a638b7a02f03d6ac44cb559c5febc22a9a8.tar.bz2 otp-e7b04a638b7a02f03d6ac44cb559c5febc22a9a8.zip |
erts: Refactor naming regarding code_write_permission
The concept of code_write_permission is used by tracing as well
and is not specific to code_ix.
Diffstat (limited to 'erts/emulator/beam/module.c')
-rw-r--r-- | erts/emulator/beam/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/module.c b/erts/emulator/beam/module.c index 1ef71cda79..01856007ee 100644 --- a/erts/emulator/beam/module.c +++ b/erts/emulator/beam/module.c @@ -144,7 +144,7 @@ erts_put_module(Eterm mod) ASSERT(is_atom(mod)); ERTS_SMP_LC_ASSERT(erts_initialized == 0 - || erts_is_code_ix_locked()); + || erts_has_code_write_permission()); mod_tab = &module_tables[erts_staging_code_ix()]; e.module = atom_val(mod); |