Title: [230491] trunk/Source/_javascript_Core
Revision
230491
Author
mark....@apple.com
Date
2018-04-10 13:58:57 -0700 (Tue, 10 Apr 2018)

Log Message

Make the ASSERT in MarkedSpace::sizeClassToIndex() a RELEASE_ASSERT.
https://bugs.webkit.org/show_bug.cgi?id=184464
<rdar://problem/39323947>

Reviewed by Saam Barati.

* heap/MarkedSpace.h:
(JSC::MarkedSpace::sizeClassToIndex):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (230490 => 230491)


--- trunk/Source/_javascript_Core/ChangeLog	2018-04-10 20:31:01 UTC (rev 230490)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-04-10 20:58:57 UTC (rev 230491)
@@ -1,3 +1,14 @@
+2018-04-10  Mark Lam  <mark....@apple.com>
+
+        Make the ASSERT in MarkedSpace::sizeClassToIndex() a RELEASE_ASSERT.
+        https://bugs.webkit.org/show_bug.cgi?id=184464
+        <rdar://problem/39323947>
+
+        Reviewed by Saam Barati.
+
+        * heap/MarkedSpace.h:
+        (JSC::MarkedSpace::sizeClassToIndex):
+
 2018-04-09  Filip Pizlo  <fpi...@apple.com>
 
         DFG AI and clobberize should agree with each other

Modified: trunk/Source/_javascript_Core/heap/MarkedSpace.h (230490 => 230491)


--- trunk/Source/_javascript_Core/heap/MarkedSpace.h	2018-04-10 20:31:01 UTC (rev 230490)
+++ trunk/Source/_javascript_Core/heap/MarkedSpace.h	2018-04-10 20:58:57 UTC (rev 230491)
@@ -79,7 +79,7 @@
     
     static size_t sizeClassToIndex(size_t size)
     {
-        ASSERT(size);
+        RELEASE_ASSERT(size);
         return (size + sizeStep - 1) / sizeStep - 1;
     }
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to