summaryrefslogtreecommitdiff
path: root/mallocx.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-01-31 20:15:54 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-01-31 23:02:25 +0300
commitf6befb64d1d366f18f6d72569e179bfe7d36f4c8 (patch)
tree7a91151d5aa069bbfd8b0f8a9969adfc14332044 /mallocx.c
parent30d32b4e9ed35628c8c75faf6e639d256886e072 (diff)
downloadbdwgc-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