Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 42ce1889929fe99b82b78440120ec6f4a4ca57f8 https://github.com/WebKit/WebKit/commit/42ce1889929fe99b82b78440120ec6f4a4ca57f8 Author: Rose <gfunni...@gmail.com> Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths: M Source/WTF/wtf/FastMalloc.cpp M Source/bmalloc/bmalloc/DebugHeap.cpp Log Message: ----------- Use aligned_alloc where possible https://bugs.webkit.org/show_bug.cgi?id=266538 Reviewed by Michael Catanzaro. aligned_alloc is more portable and cleaner than posix_memalign is. In fact, aligned_alloc supersedes posix_memalign entirely. * Source/WTF/wtf/FastMalloc.cpp: Ditto. (WTF::fastAlignedMalloc): Replace posix_memalign with aligned_alloc. (WTF::tryFastAlignedMalloc): Ditto. * Source/bmalloc/bmalloc/DebugHeap.cpp: Ditto. (bmalloc::DebugHeap::memalign): Ditto. Canonical link: https://commits.webkit.org/279189@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes