mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-16 20:17:05 +03:00
JitRuntime: removed duplicate code (#397)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user