diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-01-31 20:15:54 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-01-31 23:02:25 +0300 |
commit | f6befb64d1d366f18f6d72569e179bfe7d36f4c8 (patch) | |
tree | 7a91151d5aa069bbfd8b0f8a9969adfc14332044 /mallocx.c | |
parent | 30d32b4e9ed35628c8c75faf6e639d256886e072 (diff) | |
download | bdwgc-f6befb64d1d366f18f6d72569e179bfe7d36f4c8.tar.gz |
Fix store-and-dirty call in GC_CONS
(fix of commit 2e7daad62)
GC_PTR_STORE_AND_DIRTY() might be expanded to a debugging version of
the store-and-dirty function, thus the former should not be used for
pointers returned from the non-debugging version of a GC allocation
routine like GC_FAST_MALLOC_GRANS().
* include/gc/gc_inline.h: Add comment that the debugging version of
this API is missing.
* include/gc/gc_inline.h (GC_CONS): Use GC_ptr_store_and_dirty()
instead of GC_PTR_STORE_AND_DIRTY().
Diffstat (limited to 'mallocx.c')
0 files changed, 0 insertions, 0 deletions