diff options
author | Sverker Eriksson <[email protected]> | 2012-02-01 19:39:31 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-02-21 12:23:05 +0100 |
commit | 9dbd1dbf260c41878704728adc533ace1a27c1ff (patch) | |
tree | 70cacbb9812363dbd4df31fad21742488368c326 /erts | |
parent | b60ea91f09f7a220144222eb0167d6c7679e7b26 (diff) | |
download | otp-9dbd1dbf260c41878704728adc533ace1a27c1ff.tar.gz otp-9dbd1dbf260c41878704728adc533ace1a27c1ff.tar.bz2 otp-9dbd1dbf260c41878704728adc533ace1a27c1ff.zip |
erts: Fix hipe loading bug for new non-blocking load
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c index ad1552e7eb..6340c39e69 100644 --- a/erts/emulator/hipe/hipe_bif0.c +++ b/erts/emulator/hipe/hipe_bif0.c @@ -648,7 +648,7 @@ static void *hipe_get_emu_address(Eterm m, Eterm f, unsigned int arity, int is_r /* if not found, stub it via the export entry */ /* no lock needed around erts_export_get_or_make_stub() */ Export *export_entry = erts_export_get_or_make_stub(m, f, arity); - address = export_entry->addressv[erts_staging_code_ix()]; + address = export_entry->addressv[erts_active_code_ix()]; } return address; } |