зеркало из https://github.com/mozilla/gecko-dev.git
Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal).
This commit is contained in:
Родитель
68a2e228b9
Коммит
68ef4d94cc
|
@ -63,7 +63,7 @@ JS_PUBLIC_API(void) JS_Assert(const char *s, const char *file, JSIntn ln)
|
|||
#if defined(WIN32)
|
||||
DebugBreak();
|
||||
exit(3);
|
||||
#elif defined(XP_OS2) || (defined(__GNUC__) && defined(__i386))
|
||||
#elif defined(XP_OS2) || (defined(__GNUC__) && (defined(__i386) || defined(__x86_64__)))
|
||||
asm("int $3");
|
||||
#endif
|
||||
abort();
|
||||
|
|
Загрузка…
Ссылка в новой задаче