mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +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)
|
if (codeSize < estimatedCodeSize)
|
||||||
_allocator.shrink(rx, codeSize);
|
_allocator.shrink(rx, codeSize);
|
||||||
|
|
||||||
if (codeSize < estimatedCodeSize)
|
|
||||||
_allocator.shrink(rx, codeSize);
|
|
||||||
|
|
||||||
{
|
{
|
||||||
VirtMem::ProtectJitReadWriteScope rwScope(rx, codeSize);
|
VirtMem::ProtectJitReadWriteScope rwScope(rx, codeSize);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user