Merge pull request #1635 from FioraAeterna/fixprofiler2

JIT: fix profiler call
This commit is contained in:
Ryan Houdek 2014-12-02 14:39:25 -06:00
commit e40f129fdd

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) \