Index: E:/users/ialeviev/th/106/trunk/working_vm/vm/jitrino/src/jet/compiler.cpp =================================================================== --- E:/users/ialeviev/th/106/trunk/working_vm/vm/jitrino/src/jet/compiler.cpp (revision 535588) +++ E:/users/ialeviev/th/106/trunk/working_vm/vm/jitrino/src/jet/compiler.cpp (working copy) @@ -41,6 +41,7 @@ #include "compiler.h" #include "trace.h" #include "stats.h" +#include "port_threadunsafe.h" #include using std::stack; @@ -110,8 +111,10 @@ assert(!method_is_native(method) && "VM must not try to compile native method!"); + UNSAFE_REGION_START STATS_SET_NAME_FILER(NULL); m_methID = ++methodsSeen; + UNSAFE_REGION_END unsigned compile_flags = defaultFlags; initProfilingData(&compile_flags);