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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:36:37 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ee4f1b1987f4556c7681f3b74dd0cdd7a339a6c6
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Sep 6 01:22:58 2002 +0000

    	First baby step towards moving List away from garbage collection.
    
            * kjs/types.h: Add needsMarking boolean and make List inherit from
    	Value privately instead of publicly.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 40434c1..9a36493 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,10 @@
+2002-09-05  Maciej Stachowiak  <mjs at apple.com>
+
+	First baby step towards moving List away from garbage collection.
+	
+        * kjs/types.h: Add needsMarking boolean and make List inherit from
+	Value privately instead of publicly.
+
 2002-08-30  Darin Adler  <darin at apple.com>
 
         * JavaScriptCore.pbproj/project.pbxproj: Allowed the new Project Builder to put in
diff --git a/JavaScriptCore/ChangeLog-2002-12-03 b/JavaScriptCore/ChangeLog-2002-12-03
index 40434c1..9a36493 100644
--- a/JavaScriptCore/ChangeLog-2002-12-03
+++ b/JavaScriptCore/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-09-05  Maciej Stachowiak  <mjs at apple.com>
+
+	First baby step towards moving List away from garbage collection.
+	
+        * kjs/types.h: Add needsMarking boolean and make List inherit from
+	Value privately instead of publicly.
+
 2002-08-30  Darin Adler  <darin at apple.com>
 
         * JavaScriptCore.pbproj/project.pbxproj: Allowed the new Project Builder to put in
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 40434c1..9a36493 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,10 @@
+2002-09-05  Maciej Stachowiak  <mjs at apple.com>
+
+	First baby step towards moving List away from garbage collection.
+	
+        * kjs/types.h: Add needsMarking boolean and make List inherit from
+	Value privately instead of publicly.
+
 2002-08-30  Darin Adler  <darin at apple.com>
 
         * JavaScriptCore.pbproj/project.pbxproj: Allowed the new Project Builder to put in
diff --git a/JavaScriptCore/kjs/types.h b/JavaScriptCore/kjs/types.h
index c77feed..27078d1 100644
--- a/JavaScriptCore/kjs/types.h
+++ b/JavaScriptCore/kjs/types.h
@@ -104,11 +104,11 @@ namespace KJS {
    * The list is explicitly shared. Note that while copy() returns a deep
    * copy of the list the referenced objects are still shared.
    */
-  class List : public Value {
+  class List : private Value {
     friend class ListIterator;
   public:
     List();
-    List(ListImp *v);
+    List(ListImp *);
 
     /**
      * Converts a Value into an List. If the value's type is not
@@ -191,6 +191,9 @@ namespace KJS {
      * Equivalent to @ref at.
      */
     Value operator[](int i) const;
+
+    ListImp *imp() const { return (ListImp *)Value::imp(); }
+
     /**
      * Returns a pointer to a static instance of an empty list. Useful if a
      * function has a @ref KJS::List parameter.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list