Title: [185773] trunk/Source/_javascript_Core
Revision
185773
Author
[email protected]
Date
2015-06-19 15:40:25 -0700 (Fri, 19 Jun 2015)

Log Message

Gardening: fix build for EWS bots.

Not reviewed.

* runtime/JSArray.cpp:
(JSC::JSArray::setLengthWithArrayStorage):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (185772 => 185773)


--- trunk/Source/_javascript_Core/ChangeLog	2015-06-19 22:28:18 UTC (rev 185772)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-06-19 22:40:25 UTC (rev 185773)
@@ -1,3 +1,12 @@
+2015-06-19  Mark Lam  <[email protected]>
+
+        Gardening: fix build for EWS bots.
+
+        Not reviewed.
+
+        * runtime/JSArray.cpp:
+        (JSC::JSArray::setLengthWithArrayStorage):
+
 2015-06-19  Michael Saboff  <[email protected]>
 
         Crash in com.apple.WebKit.WebContent at com.apple._javascript_Core: JSC::FTL::fixFunctionBasedOnStackMaps + 17225

Modified: trunk/Source/_javascript_Core/runtime/JSArray.cpp (185772 => 185773)


--- trunk/Source/_javascript_Core/runtime/JSArray.cpp	2015-06-19 22:28:18 UTC (rev 185772)
+++ trunk/Source/_javascript_Core/runtime/JSArray.cpp	2015-06-19 22:40:25 UTC (rev 185773)
@@ -376,7 +376,7 @@
         unsigned usedVectorLength = min(length, storage->vectorLength());
         for (unsigned i = newLength; i < usedVectorLength; ++i) {
             WriteBarrier<Unknown>& valueSlot = storage->m_vector[i];
-            bool hadValue  { valueSlot };
+            bool hadValue = !!valueSlot;
             valueSlot.clear();
             storage->m_numValuesInVector -= hadValue;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to