Bug 914174 - Fix nit in previous ASan patch. r=luke

This commit is contained in:
Christian Holler 2013-09-10 17:27:56 +02:00
Родитель 92ebba79c0
Коммит ede01a8a9d
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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