Revert "Add type confusion protection to the default memory provider."

This reverts commit d56201e28d.
This commit is contained in:
David Chisnall
2019-09-12 17:16:48 +01:00
parent dbea595b6e
commit 0b2b4d68a2
6 changed files with 14 additions and 29 deletions

View File

@@ -19,7 +19,7 @@ namespace snmalloc
* required. This avoids a branch on the fast path.
*/
inline Alloc GlobalPlaceHolder(
default_memory_provider(), SNMALLOC_DEFAULT_PAGEMAP(), nullptr, true);
default_memory_provider, SNMALLOC_DEFAULT_PAGEMAP(), nullptr, true);
#ifdef SNMALLOC_EXTERNAL_THREAD_ALLOC
/**