Title: [205222] releases/WebKitGTK/webkit-2.14/Source/_javascript_Core
Revision
205222
Author
[email protected]
Date
2016-08-30 22:59:02 -0700 (Tue, 30 Aug 2016)

Log Message

Unreviewed. Remove incorrect assert causing crashes in debug builds.

* dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::AbstractValue):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/ChangeLog (205221 => 205222)


--- releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/ChangeLog	2016-08-31 05:54:31 UTC (rev 205221)
+++ releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/ChangeLog	2016-08-31 05:59:02 UTC (rev 205222)
@@ -1,3 +1,10 @@
+2016-08-30  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Remove incorrect assert causing crashes in debug builds.
+
+        * dfg/DFGAbstractValue.h:
+        (JSC::DFG::AbstractValue::AbstractValue):
+
 2016-08-29  Joseph Pecoraro  <[email protected]>
 
         REGRESSION(r202568): Web Inspector: Expanding Array Prototype in Console shows no properties

Modified: releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/dfg/DFGAbstractValue.h (205221 => 205222)


--- releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/dfg/DFGAbstractValue.h	2016-08-31 05:54:31 UTC (rev 205221)
+++ releases/WebKitGTK/webkit-2.14/Source/_javascript_Core/dfg/DFGAbstractValue.h	2016-08-31 05:59:02 UTC (rev 205222)
@@ -55,17 +55,6 @@
         : m_type(SpecNone)
         , m_arrayModes(0)
     {
-#if USE(JSVALUE64) && !defined(NDEBUG)
-        // The WTF Traits for AbstractValue allow the initialization of values with bzero().
-        // We verify the correctness of this assumption here.
-        static bool needsDefaultConstructorCheck = true;
-        if (needsDefaultConstructorCheck) {
-            needsDefaultConstructorCheck = false;
-
-            for (unsigned i = 0; i < sizeof(AbstractValue); ++i)
-                ASSERT(!(reinterpret_cast<char*>(this)[i]));
-        }
-#endif
     }
     
     void clear()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to