Don't install segfault handler in interpreter mode

This commit is contained in:
Tillmann Karras
2014-07-05 11:02:41 +02:00
parent 311e9e655a
commit ad2aaedd8b
+2 -1
View File
@@ -299,7 +299,8 @@ void CpuThread()
}
#if _M_X86_64 || _M_ARM_32
if (_CoreParameter.bFastmem)
// No need to install the segfault handler when using the interpreter backend.
if (_CoreParameter.bFastmem && _CoreParameter.iCPUCore != CPU_INTERPRETER)
EMM::InstallExceptionHandler(); // Let's run under memory watch
#endif