diff --git a/src/backend_x64/emit_x64.cpp b/src/backend_x64/emit_x64.cpp index 3f5204f8..64197be7 100644 --- a/src/backend_x64/emit_x64.cpp +++ b/src/backend_x64/emit_x64.cpp @@ -2820,7 +2820,7 @@ static void ReadMemory(BlockOfCode* code, RegAlloc& reg_alloc, IR::Inst* inst, U template static void WriteMemory(BlockOfCode* code, RegAlloc& reg_alloc, IR::Inst* inst, UserCallbacks& cb, size_t bit_size, FunctionPointer fn) { if (!cb.page_table) { - reg_alloc.HostCall(inst, inst->GetArg(0), inst->GetArg(1)); + reg_alloc.HostCall(nullptr, inst->GetArg(0), inst->GetArg(1)); code->CallFunction(fn); return; }