Don't install segfault handler in interpreter mode

This commit is contained in:
Tillmann Karras 2014-06-19 16:40:08 +02:00
parent 311e9e655a
commit ad2aaedd8b
1 changed files with 2 additions and 1 deletions

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