mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
JIT.h: Add option for lowered function size
This commit is contained in:
parent
67f2356ef7
commit
3f4210437d
3 changed files with 6 additions and 6 deletions
|
@ -211,7 +211,7 @@ const asmjit::Environment& jit_runtime_base::environment() const noexcept
|
|||
return g_env;
|
||||
}
|
||||
|
||||
void* jit_runtime_base::_add(asmjit::CodeHolder* code) noexcept
|
||||
void* jit_runtime_base::_add(asmjit::CodeHolder* code, usz align) noexcept
|
||||
{
|
||||
ensure(!code->flatten());
|
||||
ensure(!code->resolveUnresolvedLinks());
|
||||
|
@ -219,7 +219,7 @@ void* jit_runtime_base::_add(asmjit::CodeHolder* code) noexcept
|
|||
if (!codeSize)
|
||||
return nullptr;
|
||||
|
||||
auto p = ensure(this->_alloc(codeSize, 64));
|
||||
auto p = ensure(this->_alloc(codeSize, align));
|
||||
ensure(!code->relocateToBase(uptr(p)));
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue