Changeset 43395 in webkit for trunk/JavaScriptCore/bytecode/SamplingTool.h
- Timestamp:
- May 8, 2009, 3:18:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/SamplingTool.h
r43392 r43395 192 192 , m_sampleCount(0) 193 193 , m_opcodeSampleCount(0) 194 #if ENABLE(CODEBLOCK_SAMPLING) 194 195 , m_scopeSampleMap(new ScopeSampleRecordMap()) 196 #endif 195 197 { 196 198 memset(m_opcodeSamples, 0, sizeof(m_opcodeSamples)); … … 198 200 } 199 201 202 #if ENABLE(CODEBLOCK_SAMPLING) 200 203 ~SamplingTool() 201 204 { 202 205 deleteAllValues(*m_scopeSampleMap); 203 206 } 207 208 void notifyOfScope(ScopeNode* scope); 209 #endif 204 210 205 211 void setup(); 206 212 void dump(ExecState*); 207 208 void notifyOfScope(ScopeNode* scope);209 213 210 214 void sample(CodeBlock* codeBlock, Instruction* vPC) … … 261 265 unsigned m_opcodeSamplesInCTIFunctions[numOpcodeIDs]; 262 266 267 #if ENABLE(CODEBLOCK_SAMPLING) 263 268 Mutex m_scopeSampleMapMutex; 264 269 OwnPtr<ScopeSampleRecordMap> m_scopeSampleMap; 270 #endif 265 271 }; 266 272
Note:
See TracChangeset
for help on using the changeset viewer.