[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

commit-queue at webkit.org commit-queue at webkit.org
Sun Feb 20 23:34:21 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 8ca47cd96f27a1f623c66cf7f67d73cc99b74744
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 21 20:01:11 2011 +0000

    2011-01-21  Peter Gal  <galpeter at inf.u-szeged.hu>
    
            Reviewed by Darin Adler.
    
            REGRESSION(r76177): All JavaScriptCore tests fail on ARM
            https://bugs.webkit.org/show_bug.cgi?id=52814
    
            Get the approximateByteSize value before releasing the OwnPtr.
    
            * parser/JSParser.cpp:
            (JSC::JSParser::parseFunctionInfo):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76376 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 92d1f1e..943f719 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-21  Peter Gal  <galpeter at inf.u-szeged.hu>
+
+        Reviewed by Darin Adler.
+
+        REGRESSION(r76177): All JavaScriptCore tests fail on ARM
+        https://bugs.webkit.org/show_bug.cgi?id=52814
+
+        Get the approximateByteSize value before releasing the OwnPtr.
+
+        * parser/JSParser.cpp:
+        (JSC::JSParser::parseFunctionInfo):
+
 2011-01-21  Xan Lopez  <xlopez at igalia.com>
 
         Reviewed by Martin Robinson.
diff --git a/Source/JavaScriptCore/parser/JSParser.cpp b/Source/JavaScriptCore/parser/JSParser.cpp
index d06f7d9..cb59f93 100644
--- a/Source/JavaScriptCore/parser/JSParser.cpp
+++ b/Source/JavaScriptCore/parser/JSParser.cpp
@@ -1357,8 +1357,10 @@ template <JSParser::FunctionRequirements requirements, bool nameIsInContainingSc
     failIfFalse(popScope(functionScope, TreeBuilder::NeedsFreeVariableInfo));
     matchOrFail(CLOSEBRACE);
 
-    if (newInfo)
-        m_functionCache->add(openBracePos, newInfo.release(), newInfo->approximateByteSize());
+    if (newInfo) {
+        unsigned approximateByteSize = newInfo->approximateByteSize();
+        m_functionCache->add(openBracePos, newInfo.release(), approximateByteSize);
+    }
 
     next();
     return true;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list