From 284837daa07b29d6a63a748544a90b1f5842ac5c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 10 Sep 2012 19:10:20 +0200 Subject: Imported WebKit commit 68645295d2e3e09af2c942f092556f06aa5f8b0d (http://svn.webkit.org/repository/webkit/trunk@128073) New snapshot --- Source/JavaScriptCore/runtime/Options.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Source/JavaScriptCore/runtime/Options.cpp') diff --git a/Source/JavaScriptCore/runtime/Options.cpp b/Source/JavaScriptCore/runtime/Options.cpp index b5ce39c0d..16c0b5d43 100644 --- a/Source/JavaScriptCore/runtime/Options.cpp +++ b/Source/JavaScriptCore/runtime/Options.cpp @@ -138,6 +138,19 @@ void Options::initialize() ; // Deconfuse editors that do auto indentation #endif +#if !ENABLE(JIT) + useJIT() = false; + useDFGJIT() = false; +#endif +#if !ENABLE(YARR_JIT) + useRegExpJIT() = false; +#endif + +#if USE(CF) || OS(UNIX) + zombiesAreImmortal() = !!getenv("JSImmortalZombieEnabled"); + useZombieMode() = zombiesAreImmortal() || !!getenv("JSZombieEnabled"); +#endif + // Do range checks where needed and make corrections to the options: ASSERT(thresholdForOptimizeAfterLongWarmUp() >= thresholdForOptimizeAfterWarmUp()); ASSERT(thresholdForOptimizeAfterWarmUp() >= thresholdForOptimizeSoon()); -- cgit v1.2.1