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:
Gregory Hainaut 2016-11-29 22:57:45 +01:00
parent 310181b97f
commit f41bb8db5e
1 changed files with 25 additions and 25 deletions

View File

@ -25,11 +25,11 @@
#define MERGE_BLOCK_RESULT
#ifdef ENABLE_VTUNE
#include "jitprofiling.h"
#include "jitprofiling.h"
#ifdef _WIN32
#pragma comment(lib, "jitprofiling.lib")
#endif
#ifdef _WIN32
#pragma comment(lib, "jitprofiling.lib")
#endif
#endif
namespace Perf
@ -101,7 +101,7 @@ void InfoVector::map(uptr x86, u32 size, const char *symbol)
#ifdef ENABLE_VTUNE
// mapping the full recompiler will blow up VTUNE
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);
iJIT_Method_Load ml;
@ -109,8 +109,8 @@ void InfoVector::map(uptr x86, u32 size, const char *symbol)
memset(&ml, 0, sizeof(ml));
ml.method_id = iJIT_GetNewMethodID();
ml.method_name = (char*)name.c_str();
ml.method_load_address = (void*)x86;
ml.method_name = (char *)name.c_str();
ml.method_load_address = (void *)x86;
ml.method_size = size;
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));
ml.method_id = iJIT_GetNewMethodID();
ml.method_name = (char*)name.c_str();
ml.method_load_address = (void*)x86;
ml.method_name = (char *)name.c_str();
ml.method_load_address = (void *)x86;
ml.method_size = size;
iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, &ml);