Changeset 188475 in webkit for trunk/Source/JavaScriptCore/bytecode/SamplingTool.cpp
- Timestamp:
- Aug 14, 2015, 9:53:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/SamplingTool.cpp
r188444 r188475 1 1 /* 2 * Copyright (C) 2008, 2009 , 2015Apple Inc. All rights reserved.2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 286 286 #if ENABLE(CODEBLOCK_SAMPLING) 287 287 if (CodeBlock* codeBlock = sample.codeBlock()) { 288 LockHolder locker(m_scriptSampleMapMutex);288 MutexLocker locker(m_scriptSampleMapMutex); 289 289 ScriptSampleRecord* record = m_scopeSampleMap->get(codeBlock->ownerExecutable()); 290 290 ASSERT(record); … … 302 302 { 303 303 #if ENABLE(CODEBLOCK_SAMPLING) 304 LockHolder locker(m_scriptSampleMapMutex);304 MutexLocker locker(m_scriptSampleMapMutex); 305 305 m_scopeSampleMap->set(script, adoptPtr(new ScriptSampleRecord(vm, script))); 306 306 #else
Note:
See TracChangeset
for help on using the changeset viewer.