mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
[clang] [Headers] Use the corresponding _aligned_free or __mingw_aligned_free in _mm_free
Differential Revision: https://reviews.llvm.org/D92570
This commit is contained in:
parent
061cebb46f
commit
c17fdca188
@ -54,7 +54,13 @@ _mm_malloc(size_t __size, size_t __align)
|
||||
static __inline__ void __attribute__((__always_inline__, __nodebug__))
|
||||
_mm_free(void *__p)
|
||||
{
|
||||
#if defined(__MINGW32__)
|
||||
__mingw_aligned_free(__p);
|
||||
#elif defined(_WIN32)
|
||||
_aligned_free(__p);
|
||||
#else
|
||||
free(__p);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user