JIT: fix profiler call

Sometimes this seems to require a 64-bit offset, so use CallFunction instead
This commit is contained in:
Fiora 2014-12-02 10:16:35 -08:00
parent 54f1e3a3c1
commit 863fb91cad
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt) \ #define PROFILER_QUERY_PERFORMANCE_COUNTER(pt) \
MOV(64, R(ABI_PARAM1), Imm64((u64) pt)); \ MOV(64, R(ABI_PARAM1), Imm64((u64) pt)); \
CALL((const void*) QueryPerformanceCounter) ABI_CallFunction((const void*) QueryPerformanceCounter)
// block->ticCounter += block->ticStop - block->ticStart // block->ticCounter += block->ticStop - block->ticStart
#define PROFILER_UPDATE_TIME(block) \ #define PROFILER_UPDATE_TIME(block) \