mirror of https://github.com/PCSX2/pcsx2.git
common: forget to format common properly
Moral of the story, don't rely on the commit hook when it isn't installed correctly ;)
This commit is contained in:
parent
310181b97f
commit
f41bb8db5e
|
@ -25,11 +25,11 @@
|
||||||
#define MERGE_BLOCK_RESULT
|
#define MERGE_BLOCK_RESULT
|
||||||
|
|
||||||
#ifdef ENABLE_VTUNE
|
#ifdef ENABLE_VTUNE
|
||||||
#include "jitprofiling.h"
|
#include "jitprofiling.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#pragma comment(lib, "jitprofiling.lib")
|
#pragma comment(lib, "jitprofiling.lib")
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Perf
|
namespace Perf
|
||||||
|
@ -101,7 +101,7 @@ void InfoVector::map(uptr x86, u32 size, const char *symbol)
|
||||||
#ifdef ENABLE_VTUNE
|
#ifdef ENABLE_VTUNE
|
||||||
// mapping the full recompiler will blow up VTUNE
|
// mapping the full recompiler will blow up VTUNE
|
||||||
if (size < _16kb) {
|
if (size < _16kb) {
|
||||||
fprintf(stderr, "map %s: %p size %d\n", symbol, (void*)x86, size);
|
fprintf(stderr, "map %s: %p size %d\n", symbol, (void *)x86, size);
|
||||||
std::string name = std::string(symbol);
|
std::string name = std::string(symbol);
|
||||||
|
|
||||||
iJIT_Method_Load ml;
|
iJIT_Method_Load ml;
|
||||||
|
@ -109,8 +109,8 @@ void InfoVector::map(uptr x86, u32 size, const char *symbol)
|
||||||
memset(&ml, 0, sizeof(ml));
|
memset(&ml, 0, sizeof(ml));
|
||||||
|
|
||||||
ml.method_id = iJIT_GetNewMethodID();
|
ml.method_id = iJIT_GetNewMethodID();
|
||||||
ml.method_name = (char*)name.c_str();
|
ml.method_name = (char *)name.c_str();
|
||||||
ml.method_load_address = (void*)x86;
|
ml.method_load_address = (void *)x86;
|
||||||
ml.method_size = size;
|
ml.method_size = size;
|
||||||
|
|
||||||
iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, &ml);
|
iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, &ml);
|
||||||
|
@ -133,8 +133,8 @@ void InfoVector::map(uptr x86, u32 size, u32 pc)
|
||||||
memset(&ml, 0, sizeof(ml));
|
memset(&ml, 0, sizeof(ml));
|
||||||
|
|
||||||
ml.method_id = iJIT_GetNewMethodID();
|
ml.method_id = iJIT_GetNewMethodID();
|
||||||
ml.method_name = (char*)name.c_str();
|
ml.method_name = (char *)name.c_str();
|
||||||
ml.method_load_address = (void*)x86;
|
ml.method_load_address = (void *)x86;
|
||||||
ml.method_size = size;
|
ml.method_size = size;
|
||||||
|
|
||||||
iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, &ml);
|
iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, &ml);
|
||||||
|
|
Loading…
Reference in New Issue