[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

oliver at apple.com oliver at apple.com
Wed Dec 22 11:11:10 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit c8e3700544e0709a8ca9c267b274e9ac362c9a1d
Author: oliver at apple.com <oliver at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 14 19:01:15 2010 +0000

    Guard the CF path of interpreter vs. jit selection with PLATFORM(CF)
    
    RS=Geoff Garen
    
    This allows the code to work on windows as well.  Also unifies the
    environment variable with the preference name.
    
    * runtime/JSGlobalData.cpp:
    (JSC::JSGlobalData::JSGlobalData):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63341 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 671f2c9..4bab6c5 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,5 +1,17 @@
 2010-07-14  Oliver Hunt  <oliver at apple.com>
 
+        RS=Geoff Garen.
+
+        Guard the CF path of interpreter vs. jit selection with PLATFORM(CF)
+
+        This allows the code to work on windows as well.  Also unifies the
+        environment variable with the preference name.
+
+        * runtime/JSGlobalData.cpp:
+        (JSC::JSGlobalData::JSGlobalData):
+
+2010-07-14  Oliver Hunt  <oliver at apple.com>
+
         Reviewed by Don Melton.
 
         Crash when trying to enable JIT and Interpreter in a single build.
diff --git a/JavaScriptCore/runtime/JSGlobalData.cpp b/JavaScriptCore/runtime/JSGlobalData.cpp
index 3a40a92..dc4f4bc 100644
--- a/JavaScriptCore/runtime/JSGlobalData.cpp
+++ b/JavaScriptCore/runtime/JSGlobalData.cpp
@@ -157,17 +157,17 @@ JSGlobalData::JSGlobalData(GlobalDataType globalDataType, ThreadStackType thread
     startProfilerServerIfNeeded();
 #endif
 #if ENABLE(JIT) && ENABLE(INTERPRETER)
-#if PLATFORM(MAC)
+#if PLATFORM(CF)
     CFStringRef canUseJITKey = CFStringCreateWithCString(0 , "JavaScriptCoreUseJIT", kCFStringEncodingMacRoman);
     CFBooleanRef canUseJIT = (CFBooleanRef)CFPreferencesCopyAppValue(canUseJITKey, kCFPreferencesCurrentApplication);
     if (canUseJIT) {
         m_canUseJIT = kCFBooleanTrue == canUseJIT;
         CFRelease(canUseJIT);
     } else
-        m_canUseJIT = !getenv("JSC_FORCE_INTERPRETER");
+        m_canUseJIT = !getenv("JavaScriptCoreUseJIT");
     CFRelease(canUseJITKey);
 #elif OS(UNIX)
-    m_canUseJIT = !getenv("JSC_FORCE_INTERPRETER");
+    m_canUseJIT = !getenv("JavaScriptCoreUseJIT");
 #else
     m_canUseJIT = true;
 #endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list