Title: [90194] trunk/Source/_javascript_Core
Revision
90194
Author
[email protected]
Date
2011-06-30 19:42:18 -0700 (Thu, 30 Jun 2011)

Log Message

2011-06-30  Oliver Hunt  <[email protected]>

        Reviewed by Beth Dakin.

        Make GC validation clear cell structure on destruction
        https://bugs.webkit.org/show_bug.cgi?id=63778

        * runtime/JSCell.h:
        (JSC::JSCell::JSCell::~JSCell):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (90193 => 90194)


--- trunk/Source/_javascript_Core/ChangeLog	2011-07-01 02:17:27 UTC (rev 90193)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-07-01 02:42:18 UTC (rev 90194)
@@ -1,3 +1,13 @@
+2011-06-30  Oliver Hunt  <[email protected]>
+
+        Reviewed by Beth Dakin.
+
+        Make GC validation clear cell structure on destruction
+        https://bugs.webkit.org/show_bug.cgi?id=63778
+
+        * runtime/JSCell.h:
+        (JSC::JSCell::JSCell::~JSCell):
+
 2011-06-30  Geoffrey Garen  <[email protected]>
 
         Reviewed by Gavin Barraclough.

Modified: trunk/Source/_javascript_Core/runtime/JSCell.h (90193 => 90194)


--- trunk/Source/_javascript_Core/runtime/JSCell.h	2011-07-01 02:17:27 UTC (rev 90193)
+++ trunk/Source/_javascript_Core/runtime/JSCell.h	2011-07-01 02:42:18 UTC (rev 90194)
@@ -186,6 +186,9 @@
 
     inline JSCell::~JSCell()
     {
+#if ENABLE(GC_VALIDATION)
+        m_structure.clear();
+#endif
     }
 
     inline Structure* JSCell::structure() const
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to