x64 IR JIT: Cast the replacement function pointer for clang

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-20 18:08:17 +02:00
1 parent 7dd1475ed7
commit f99f05a40e
1 file changed
+1 -1
+1 -1
View File
@@ -245,7 +245,7 @@ void X64JitBackend::CompIR_System(IRInst inst) {
FlushAll();
SaveStaticRegisters();
WriteDebugProfilerStatus(IRProfilerStatus::REPLACEMENT);
ABI_CallFunctionP(GetReplacementFunc(inst.constant)->replaceFunc, mips_);
ABI_CallFunctionP((const void *)GetReplacementFunc(inst.constant)->replaceFunc, mips_);
WriteDebugProfilerStatus(IRProfilerStatus::IN_JIT);
LoadStaticRegisters();