Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal).

This commit is contained in:
David Anderson 2009-10-23 10:28:06 -07:00
Родитель 68a2e228b9
Коммит 68ef4d94cc
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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();