JitRuntime: removed duplicate code (#397)

This commit is contained in:
uvxwx
2023-02-18 22:48:58 +04:00
committed by GitHub
parent e136425673
commit 8c31a8f34f

View File

@@ -47,9 +47,6 @@ Error JitRuntime::_add(void** dst, CodeHolder* code) noexcept {
if (codeSize < estimatedCodeSize)
_allocator.shrink(rx, codeSize);
if (codeSize < estimatedCodeSize)
_allocator.shrink(rx, codeSize);
{
VirtMem::ProtectJitReadWriteScope rwScope(rx, codeSize);