Merge branch 'dev' into dev2

This commit is contained in:
Daan 2025-03-21 20:07:29 -07:00
commit 9155fe98f1

View file

@ -192,10 +192,6 @@ static void* mi_heap_malloc_zero_aligned_at(mi_heap_t* const heap, const size_t
if mi_likely(is_aligned)
{
void* p = (zero ? _mi_page_malloc_zeroed(heap,page,padsize) : _mi_page_malloc(heap,page,padsize)); // call specific page malloc for better codegen
#if MI_STAT>1
mi_heap_stat_adjust_decrease(heap, malloc_requested, padsize);
mi_heap_stat_increase(heap, malloc_requested, size);
#endif
mi_assert_internal(p != NULL);
mi_assert_internal(((uintptr_t)p + offset) % alignment == 0);
mi_track_malloc(p,size,zero);