diff options
author | Sverker Eriksson <[email protected]> | 2015-12-09 19:28:15 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-12-09 20:18:18 +0100 |
commit | bb5f71a7573158056dd9c80228c95833f970ec0b (patch) | |
tree | 6ff2459c8e64c771933e1fb66b28eb406864b4d4 /erts/emulator/beam/beam_bif_load.c | |
parent | eb2e118ee2be5c008fc4417a443c351807adf123 (diff) | |
download | otp-bb5f71a7573158056dd9c80228c95833f970ec0b.tar.gz otp-bb5f71a7573158056dd9c80228c95833f970ec0b.tar.bz2 otp-bb5f71a7573158056dd9c80228c95833f970ec0b.zip |
erts: Add proc dict macros ERTS_PD_START/SIZE
Diffstat (limited to 'erts/emulator/beam/beam_bif_load.c')
-rw-r--r-- | erts/emulator/beam/beam_bif_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_bif_load.c b/erts/emulator/beam/beam_bif_load.c index 0e192b1ebd..c804a09f87 100644 --- a/erts/emulator/beam/beam_bif_load.c +++ b/erts/emulator/beam/beam_bif_load.c @@ -851,8 +851,8 @@ check_process_code(Process* rp, Module* modp, int allow_gc, int *redsp) } if (rp->dictionary != NULL) { - Eterm* start = rp->dictionary->data; - Eterm* end = start + rp->dictionary->used; + Eterm* start = ERTS_PD_START(rp->dictionary); + Eterm* end = start + ERTS_PD_SIZE(rp->dictionary); if (any_heap_ref_ptrs(start, end, mod_start, mod_size)) { goto need_gc; |