⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185773 in webkit


Ignore:
Timestamp:
Jun 19, 2015, 3:40:25 PM (11 years ago)
Author:
mark.lam@apple.com
Message:

Gardening: fix build for EWS bots.

Not reviewed.

  • runtime/JSArray.cpp:

(JSC::JSArray::setLengthWithArrayStorage):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r185772 r185773  
     12015-06-19  Mark Lam  <mark.lam@apple.com>
     2
     3        Gardening: fix build for EWS bots.
     4
     5        Not reviewed.
     6
     7        * runtime/JSArray.cpp:
     8        (JSC::JSArray::setLengthWithArrayStorage):
     9
    1102015-06-19  Michael Saboff  <msaboff@apple.com>
    211
  • trunk/Source/JavaScriptCore/runtime/JSArray.cpp

    r185768 r185773  
    377377        for (unsigned i = newLength; i < usedVectorLength; ++i) {
    378378            WriteBarrier<Unknown>& valueSlot = storage->m_vector[i];
    379             bool hadValue  { valueSlot };
     379            bool hadValue = !!valueSlot;
    380380            valueSlot.clear();
    381381            storage->m_numValuesInVector -= hadValue;
Note: See TracChangeset for help on using the changeset viewer.