Bug 859545 - Enable default parallel compilation for shell JS_THREADSAFE builds. r=bhackett

This commit is contained in:
Sean Stangl 2013-04-08 16:23:16 -07:00
parent aee4ef87b8
commit 99975901ad

View File

@ -88,7 +88,7 @@ struct IonOptions
// Toggles whether compilation occurs off the main thread.
//
// Default: true iff there are at least two CPUs available
// Default: true iff the build is JS_THREADSAFE.
bool parallelCompilation;
// How many invocations or loop iterations are needed before functions
@ -202,7 +202,11 @@ struct IonOptions
rangeAnalysis(true),
uce(true),
eaa(true),
#ifdef JS_THREADSAFE
parallelCompilation(true),
#else
parallelCompilation(false),
#endif
baselineUsesBeforeCompile(10),
usesBeforeCompile(1000),
usesBeforeCompileNoJaeger(40),