2006-03-31 Anders Carlsson <andersca@mac.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2006 06:48:57 +0000 (06:48 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2006 06:48:57 +0000 (06:48 +0000)
        Reviewed by Maciej.

        Make sure the GetterSetterImp objects are marked as well.

        * kjs/internal.cpp:
        (KJS::GetterSetterImp::mark):
        Call JSCell::mark().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13597 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/internal.cpp

index 813de2bf3f0454573e5e81bb96a2d38b9d828ef2..fb43bf1390e5e48c24c15f8c03cd784e3c22bfd9 100644 (file)
@@ -1,3 +1,13 @@
+2006-03-31  Anders Carlsson  <andersca@mac.com>
+
+        Reviewed by Maciej.
+
+        Make sure the GetterSetterImp objects are marked as well.
+        
+        * kjs/internal.cpp:
+        (KJS::GetterSetterImp::mark):
+        Call JSCell::mark().
+        
 2006-03-30  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by ggaren.
index e35ca94da9bb813d8a1402fc6b6f1d15cd0c6592..6fd3234895a882b86d5df7d13b67fc5edbf6f250 100644 (file)
@@ -123,6 +123,8 @@ bool NumberImp::getUInt32(uint32_t& uint32) const
 // --------------------------- GetterSetterImp ---------------------------------
 void GetterSetterImp::mark()
 {
+    JSCell::mark();
+    
     if (getter && !getter->marked())
         getter->mark();
     if (setter && !setter->marked())