a64_emit_x64: Apply [[maybe_unused]] to unused lambda parameter
This can result in an unused variable warning on Windows otherwise.
This commit is contained in:
parent
4f47861669
commit
3bbb06c34a
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void A64EmitX64::GenMemory128Accessors() {
|
||||||
memory_read_128 = code.getCurr<void(*)()>();
|
memory_read_128 = code.getCurr<void(*)()>();
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
Devirtualize<&A64::UserCallbacks::MemoryRead128>(conf.callbacks).EmitCallWithReturnPointer(code,
|
Devirtualize<&A64::UserCallbacks::MemoryRead128>(conf.callbacks).EmitCallWithReturnPointer(code,
|
||||||
[&](Xbyak::Reg64 return_value_ptr, RegList args) {
|
[&](Xbyak::Reg64 return_value_ptr, [[maybe_unused]] RegList args) {
|
||||||
code.mov(code.ABI_PARAM3, code.ABI_PARAM2);
|
code.mov(code.ABI_PARAM3, code.ABI_PARAM2);
|
||||||
code.sub(rsp, 8 + 16 + ABI_SHADOW_SPACE);
|
code.sub(rsp, 8 + 16 + ABI_SHADOW_SPACE);
|
||||||
code.lea(return_value_ptr, ptr[rsp + ABI_SHADOW_SPACE]);
|
code.lea(return_value_ptr, ptr[rsp + ABI_SHADOW_SPACE]);
|
||||||
|
|
Loading…
Reference in a new issue