Index: vm/jitrino/src/jet/rt.cpp =================================================================== --- vm/jitrino/src/jet/rt.cpp (revision 542246) +++ vm/jitrino/src/jet/rt.cpp (working copy) @@ -31,6 +31,8 @@ #include "jit_import.h" #include "jit_intf.h" +#include "port_threadunsafe.h" + #if !defined(_IPF_) #include "enc_ia32.h" #endif @@ -164,6 +166,7 @@ // restore callee-save regs // #ifdef _DEBUG + UNSAFE_REGION_START // presumption: only GP registers can be callee-save static bool do_check = true; for (unsigned i=0; do_check && i