[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:00:07 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit cc4d5abe4dc322136a53625c34d8c1e66cf4c0cb
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Apr 2 17:20:12 2002 +0000

    	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
            deallocate and null out emptyList, because once the last interpreter
            is destroyed there's nothing to keep it from being garbage collected.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@931 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index ea4e858..3a22b10 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-02  Darin Adler  <darin at apple.com>
+
+	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
+        deallocate and null out emptyList, because once the last interpreter
+        is destroyed there's nothing to keep it from being garbage collected.
+
 2002-04-01  Darin Adler  <darin at apple.com>
 
         Got rid of KWQDef.h because it's dangerous to have two files with
diff --git a/JavaScriptCore/ChangeLog-2002-12-03 b/JavaScriptCore/ChangeLog-2002-12-03
index ea4e858..3a22b10 100644
--- a/JavaScriptCore/ChangeLog-2002-12-03
+++ b/JavaScriptCore/ChangeLog-2002-12-03
@@ -1,3 +1,9 @@
+2002-04-02  Darin Adler  <darin at apple.com>
+
+	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
+        deallocate and null out emptyList, because once the last interpreter
+        is destroyed there's nothing to keep it from being garbage collected.
+
 2002-04-01  Darin Adler  <darin at apple.com>
 
         Got rid of KWQDef.h because it's dangerous to have two files with
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index ea4e858..3a22b10 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,9 @@
+2002-04-02  Darin Adler  <darin at apple.com>
+
+	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
+        deallocate and null out emptyList, because once the last interpreter
+        is destroyed there's nothing to keep it from being garbage collected.
+
 2002-04-01  Darin Adler  <darin at apple.com>
 
         Got rid of KWQDef.h because it's dangerous to have two files with
diff --git a/JavaScriptCore/kjs/internal.cpp b/JavaScriptCore/kjs/internal.cpp
index 9011ede..42c0012 100644
--- a/JavaScriptCore/kjs/internal.cpp
+++ b/JavaScriptCore/kjs/internal.cpp
@@ -21,6 +21,8 @@
  *
  */
 
+#include <config.h>
+
 #include <stdio.h>
 #include <math.h>
 #include <assert.h>
@@ -755,6 +757,11 @@ void InterpreterImp::globalClear()
   BooleanImp::staticFalse->deref();
   BooleanImp::staticFalse->setGcAllowed();
   BooleanImp::staticFalse = 0L;
+#ifdef APPLE_CHANGES
+  ListImp::emptyList->setGcAllowed();
+  ListImp::emptyList->deref();
+  ListImp::emptyList = 0;
+#endif
 }
 
 InterpreterImp::InterpreterImp(Interpreter *interp, const Object &glob)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list