aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_load.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-13 20:59:58 +0200
committerSverker Eriksson <[email protected]>2016-10-14 14:43:50 +0200
commit3582e6f420d84ddac64b55cb13100f1ae7f31b08 (patch)
tree6ece73414540dc8d923999b6ebb4e62f8e755b6d /erts/emulator/hipe/hipe_load.c
parent7d5021bc9e1150b5d839438756851b3175f3ba85 (diff)
downloadotp-3582e6f420d84ddac64b55cb13100f1ae7f31b08.tar.gz
otp-3582e6f420d84ddac64b55cb13100f1ae7f31b08.tar.bz2
otp-3582e6f420d84ddac64b55cb13100f1ae7f31b08.zip
erts: Replace unsafe Module.first_hipe_ref
with hash table mod2mfa_tab
Diffstat (limited to 'erts/emulator/hipe/hipe_load.c')
-rw-r--r--erts/emulator/hipe/hipe_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_load.c b/erts/emulator/hipe/hipe_load.c
index fcbcf1a6a4..2998ed87a2 100644
--- a/erts/emulator/hipe/hipe_load.c
+++ b/erts/emulator/hipe/hipe_load.c
@@ -50,11 +50,11 @@ void hipe_free_loader_state(HipeLoaderState *stp)
stp->data_segment_size = 0;
if (stp->new_hipe_refs) {
- hipe_purge_refs(stp->new_hipe_refs, stp->module);
+ hipe_purge_refs(stp->new_hipe_refs, stp->module, 0);
stp->new_hipe_refs = NULL;
}
if (stp->new_hipe_sdesc) {
- hipe_purge_sdescs(stp->new_hipe_sdesc, stp->module);
+ hipe_purge_sdescs(stp->new_hipe_sdesc, stp->module, 0);
stp->new_hipe_sdesc = NULL;
}