diff options
author | Sverker Eriksson <[email protected]> | 2012-01-24 17:08:40 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:23:04 +0100 |
commit | 88c771c1d69c98169ef9bc10c27ed4378854d368 (patch) | |
tree | c8eceae647344e35a2fd54c2982fd3db0053824a /erts/emulator/hipe/hipe_bif0.c | |
parent | a23f25a3014dbad01d2016dc4e6d6df9d59ba64c (diff) | |
download | otp-88c771c1d69c98169ef9bc10c27ed4378854d368.tar.gz otp-88c771c1d69c98169ef9bc10c27ed4378854d368.tar.bz2 otp-88c771c1d69c98169ef9bc10c27ed4378854d368.zip |
erts: Cleanup code loading
Diffstat (limited to 'erts/emulator/hipe/hipe_bif0.c')
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c index e13d8fc182..ad1552e7eb 100644 --- a/erts/emulator/hipe/hipe_bif0.c +++ b/erts/emulator/hipe/hipe_bif0.c @@ -609,7 +609,7 @@ static Uint *hipe_find_emu_address(Eterm mod, Eterm name, unsigned int arity) Uint *code_base; int i, n; - modp = erts_get_module(mod, erts_active_code_ix()); /*SVERK ?? */ + modp = erts_get_module(mod, erts_active_code_ix()); if (modp == NULL || (code_base = modp->curr.code) == NULL) return NULL; n = code_base[MI_NUM_FUNCTIONS]; @@ -1591,7 +1591,7 @@ BIF_RETTYPE hipe_nonclosure_address(BIF_ALIST_2) f = tp[2]; if (is_not_atom(m) || is_not_atom(f)) goto badfun; - if (!erts_active_export_entry(m, f, BIF_ARG_2)) /*SVERK active? */ + if (!erts_active_export_entry(m, f, BIF_ARG_2)) goto badfun; } else goto badfun; |