Ignore:
Timestamp:
May 22, 2021, 4:17:01 AM (4 years ago)
Author:
[email protected]
Message:

Unreviewed, reverting r277913.
https://bugs.webkit.org/show_bug.cgi?id=226140

Caused multiple layout-test crash on mac debug queues

Reverted changeset:

"Replace LockHolder with Locker in local variables"
https://bugs.webkit.org/show_bug.cgi?id=226133
https://trac.webkit.org/changeset/277913

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/CLoopStack.cpp

    r277913 r277917  
    140140void CLoopStack::addToCommittedByteCount(long byteCount)
    141141{
    142     Locker locker { stackStatisticsMutex };
     142    LockHolder locker(stackStatisticsMutex);
    143143    ASSERT(static_cast<long>(committedBytesCount) + byteCount > -1);
    144144    committedBytesCount += byteCount;
     
    160160size_t CLoopStack::committedByteCount()
    161161{
    162     Locker locker { stackStatisticsMutex };
     162    LockHolder locker(stackStatisticsMutex);
    163163    return committedBytesCount;
    164164}
Note: See TracChangeset for help on using the changeset viewer.