Changeset 43397 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- May 8, 2009, 4:30:32 AM (16 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/SamplingTool.cpp
r43395 r43397 210 210 } 211 211 212 void SamplingTool::notifyOfScope(ScopeNode* scope) 213 { 212 214 #if ENABLE(CODEBLOCK_SAMPLING) 213 void SamplingTool::notifyOfScope(ScopeNode* scope)214 {215 215 MutexLocker locker(m_scopeSampleMapMutex); 216 216 m_scopeSampleMap->set(scope, new ScopeSampleRecord(scope)); 217 } 218 #endif 217 #else 218 UNUSED_PARAM(scope); 219 #endif 220 } 219 221 220 222 void SamplingTool::setup() -
trunk/JavaScriptCore/bytecode/SamplingTool.h
r43395 r43397 200 200 } 201 201 202 ~SamplingTool() 203 { 202 204 #if ENABLE(CODEBLOCK_SAMPLING) 203 ~SamplingTool()204 {205 205 deleteAllValues(*m_scopeSampleMap); 206 } 207 208 void notifyOfScope(ScopeNode* scope); 209 #endif 206 #endif 207 } 210 208 211 209 void setup(); 212 210 void dump(ExecState*); 211 212 void notifyOfScope(ScopeNode* scope); 213 213 214 214 void sample(CodeBlock* codeBlock, Instruction* vPC)
Note:
See TracChangeset
for help on using the changeset viewer.