зеркало из https://github.com/mozilla/gecko-dev.git
Bug 914174 - Fix nit in previous ASan patch. r=luke
This commit is contained in:
Родитель
92ebba79c0
Коммит
ede01a8a9d
|
@ -1034,8 +1034,7 @@ js::TriggerOperationCallbackForAsmJSCode(JSRuntime *rt)
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef MOZ_ASAN
|
||||
#ifdef JS_STANDALONE
|
||||
#if defined(MOZ_ASAN) && defined(JS_STANDALONE)
|
||||
// Usually, this definition is found in mozglue (see mozglue/build/AsanOptions.cpp).
|
||||
// However, when doing standalone JS builds, mozglue is not used and we must ensure
|
||||
// that we still allow custom SIGSEGV handlers for asm.js and ion to work correctly.
|
||||
|
@ -1044,4 +1043,3 @@ const char* __asan_default_options() {
|
|||
return "allow_user_segv_handler=1";
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче