diff --git a/interpreter/llvm/src/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp b/interpreter/llvm/src/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp index 36067ccf27536..a384e0a936fd7 100644 --- a/interpreter/llvm/src/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp +++ b/interpreter/llvm/src/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp @@ -52,8 +52,10 @@ InProcessMemoryManager::allocate(const JITLinkDylib *JD, assert((SlabSize % sys::Process::getPageSizeEstimate()) == 0 && "Slab size is not a multiple of page size"); sys::MemoryBlock Slab(SlabStart, SlabSize); +#if 0 if (auto EC = sys::Memory::releaseMappedMemory(Slab)) return errorCodeToError(EC); +#endif return Error::success(); }