diff options
author | Sverker Eriksson <[email protected]> | 2012-01-19 12:10:20 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:22:58 +0100 |
commit | aac03c5e9ccf9f6066e291a7c87dd58c1181c227 (patch) | |
tree | 149f9533c5fae8b64c7c083eb211b9902be9db1c /erts/emulator/beam/erl_nif.c | |
parent | 5ed73504d7409a449ec4e0c0de421a93c4570e3b (diff) | |
download | otp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.tar.gz otp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.tar.bz2 otp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.zip |
erts: Multiple module tables using code_ix
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-rw-r--r-- | erts/emulator/beam/erl_nif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c index f6082c09f2..8e8b58a7ad 100644 --- a/erts/emulator/beam/erl_nif.c +++ b/erts/emulator/beam/erl_nif.c @@ -1534,7 +1534,7 @@ BIF_RETTYPE load_nif_2(BIF_ALIST_2) ASSERT(caller != NULL); mod_atom = caller[0]; ASSERT(is_atom(mod_atom)); - mod=erts_get_module(mod_atom); + mod=erts_get_module(mod_atom, erts_active_code_ix()); ASSERT(mod != NULL); if (!in_area(caller, mod->curr.code, mod->curr.code_length)) { |