| 210 | #if __cpp_aligned_new >= 201606 |
| 211 | |
| 212 | JEMALLOC_ALWAYS_INLINE |
| 213 | void |
| 214 | alignedSizedDeleteImpl(void* ptr, std::size_t size, std::align_val_t alignment) noexcept { |
| 215 | if (config_debug) { |
| 216 | assert(((size_t)alignment & ((size_t)alignment - 1)) == 0); |
| 217 | } |
| 218 | if (unlikely(ptr == nullptr)) { |
| 219 | return; |
| 220 | } |
| 221 | je_sdallocx(ptr, size, MALLOCX_ALIGN(alignment)); |
| 222 | } |
| 223 | |
| 224 | void |
| 225 | operator delete(void* ptr, std::align_val_t) noexcept { |
no test coverage detected