Index: working_vm/vm/vmcore/src/exception/exceptions.cpp =================================================================== --- working_vm/vm/vmcore/src/exception/exceptions.cpp (revision 573777) +++ working_vm/vm/vmcore/src/exception/exceptions.cpp (working copy) @@ -39,9 +39,10 @@ bool exn_raised() { + register VM_thread* thread = p_TLS_vmthread; // no need to disable gc for simple null equality check - return ((NULL != p_TLS_vmthread->thread_exception.exc_object) - || (NULL != p_TLS_vmthread->thread_exception.exc_class)); + return ((NULL != thread->thread_exception.exc_object) + || (NULL != thread->thread_exception.exc_class)); }