Index: vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp =================================================================== --- vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp (revision 540468) +++ vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp (working copy) @@ -36,6 +36,7 @@ #include "clog.h" #include "dump.h" +#include "port_threadunsafe.h" // Invariants: // Native frames: @@ -64,7 +65,9 @@ static void si_unwind_from_m2n(StackIterator* si, bool over_popped = true) { #ifdef VM_STATS + UNSAFE_REGION_START VM_Statistics::get_vm_stats().num_unwind_native_frames_all++; + UNSAFE_REGION_END #endif M2nFrame* m2nfl = si->m2nfl;