From 33b26980cb24288b5a9f2590ccf32a949281bb79 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 26 Sep 2012 10:42:44 +0200 Subject: Imported WebKit commit c596dd7f03007fa7ed896b928106497e8784b3b5 (http://svn.webkit.org/repository/webkit/trunk@129610) New snapshot that removes QtQuick1 support (to be moved into QtQuick1 module) --- Source/JavaScriptCore/runtime/Options.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/JavaScriptCore/runtime/Options.cpp') diff --git a/Source/JavaScriptCore/runtime/Options.cpp b/Source/JavaScriptCore/runtime/Options.cpp index b164948a5..ed0720b54 100644 --- a/Source/JavaScriptCore/runtime/Options.cpp +++ b/Source/JavaScriptCore/runtime/Options.cpp @@ -127,6 +127,11 @@ void Options::initialize() JSC_OPTIONS(FOR_EACH_OPTION) #undef FOR_EACH_OPTION +#if USE(CF) || OS(UNIX) + objectsAreImmortal() = !!getenv("JSImmortalZombieEnabled"); + useZombieMode() = !!getenv("JSImmortalZombieEnabled") || !!getenv("JSZombieEnabled"); +#endif + // Allow environment vars to override options if applicable. // The evn var should be the name of the option prefixed with // "JSC_". @@ -149,11 +154,6 @@ void Options::initialize() 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