Fix error

This commit is contained in:
Alexey Milovidov 2021-10-11 09:01:23 +03:00
parent e7d3ead754
commit 284e547bc3

View File

@ -156,7 +156,7 @@ public:
throwFromErrno("Cannot mprotect memory region", ErrorCodes::CANNOT_MPROTECT);
llvm::sys::Memory::InvalidateInstructionCache(block.base(), block.blockSize());
InvalidateCache = false;
invalidate_cache = false;
}
# endif
int res = mprotect(block.base(), block.blockSize(), protection_flags);