Ignore:
Timestamp:
Aug 14, 2015, 9:53:37 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r188444.
https://bugs.webkit.org/show_bug.cgi?id=148029

Broke GTK and EFL (see bug #148027) (Requested by philn on
#webkit).

Reverted changeset:

"Use WTF::Lock and WTF::Condition instead of WTF::Mutex,
WTF::ThreadCondition, std::mutex, and std::condition_variable"
https://bugs.webkit.org/show_bug.cgi?id=147999
http://trac.webkit.org/changeset/188444

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/SamplingTool.cpp

    r188444 r188475  
    11/*
    2  * Copyright (C) 2008, 2009, 2015 Apple Inc. All rights reserved.
     2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    286286#if ENABLE(CODEBLOCK_SAMPLING)
    287287    if (CodeBlock* codeBlock = sample.codeBlock()) {
    288         LockHolder locker(m_scriptSampleMapMutex);
     288        MutexLocker locker(m_scriptSampleMapMutex);
    289289        ScriptSampleRecord* record = m_scopeSampleMap->get(codeBlock->ownerExecutable());
    290290        ASSERT(record);
     
    302302{
    303303#if ENABLE(CODEBLOCK_SAMPLING)
    304     LockHolder locker(m_scriptSampleMapMutex);
     304    MutexLocker locker(m_scriptSampleMapMutex);
    305305    m_scopeSampleMap->set(script, adoptPtr(new ScriptSampleRecord(vm, script)));
    306306#else
Note: See TracChangeset for help on using the changeset viewer.