1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 15:46:05 +02:00

Reorder allocator list

This commit is contained in:
Brian Fiete 2022-06-03 06:33:12 -07:00
parent babfc2395e
commit 60403e6b51
3 changed files with 5 additions and 5 deletions

View file

@ -741,6 +741,9 @@ namespace IDE.Compiler
String freeLinkName;
switch (options.mAllocType)
{
case .CRT:
mallocLinkName = "malloc";
freeLinkName = "free";
case .Debug:
optionFlags |= .DebugAlloc;
mallocLinkName = "";
@ -748,9 +751,6 @@ namespace IDE.Compiler
case .Stomp:
mallocLinkName = "StompAlloc";
freeLinkName = "StompFree";
case .CRT:
mallocLinkName = "malloc";
freeLinkName = "free";
case .JEMalloc, .JEMalloc_Debug:
mallocLinkName = "je_malloc";
freeLinkName = "je_free";