Bug 543709 trace-test/tests/basic/bug529130.js failed with debug version on Solaris r=jimb

This commit is contained in:
Ginn Chen 2010-03-29 17:27:51 +08:00
parent 4d7ae247d5
commit 19d468bb29

View File

@ -109,7 +109,14 @@ typedef enum JSShellExitCode {
size_t gStackChunkSize = 8192;
/* Assume that we can not use more than 5e5 bytes of C stack by default. */
#if defined(DEBUG) && defined(__SUNPRO_CC)
/* Sun compiler uses larger stack space for js_Interpret() with debug
Use a bigger gMaxStackSize to make "make check" happy. */
static size_t gMaxStackSize = 5000000;
#else
static size_t gMaxStackSize = 500000;
#endif
#ifdef JS_THREADSAFE
static PRUintn gStackBaseThreadIndex;