JIT: fix profiler call
Sometimes this seems to require a 64-bit offset, so use CallFunction instead
This commit is contained in:
parent
54f1e3a3c1
commit
863fb91cad
|
@ -16,7 +16,7 @@
|
|||
|
||||
#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt) \
|
||||
MOV(64, R(ABI_PARAM1), Imm64((u64) pt)); \
|
||||
CALL((const void*) QueryPerformanceCounter)
|
||||
ABI_CallFunction((const void*) QueryPerformanceCounter)
|
||||
|
||||
// block->ticCounter += block->ticStop - block->ticStart
|
||||
#define PROFILER_UPDATE_TIME(block) \
|
||||
|
|
Loading…
Reference in New Issue