Ignore:
Timestamp:
May 8, 2009, 4:30:32 AM (16 years ago)
Author:
[email protected]
Message:

2009-05-08 Gavin Barraclough <[email protected]>

Rubber stamped by Oliver Hunt.

Removing an empty constructor and an uncalled, empty function seems to be a
pretty solid 1% regeression on my machine, so I'm going to put them back.
Um. Yeah, this this pretty pointles and makes no sense at all. I officially
lose the will to live in 3... 2...

  • bytecode/SamplingTool.cpp: (JSC::SamplingTool::notifyOfScope):
  • bytecode/SamplingTool.h: (JSC::SamplingTool::~SamplingTool):
File:
1 edited

Legend:

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

    r43395 r43397  
    210210}
    211211
     212void SamplingTool::notifyOfScope(ScopeNode* scope)
     213{
    212214#if ENABLE(CODEBLOCK_SAMPLING)
    213 void SamplingTool::notifyOfScope(ScopeNode* scope)
    214 {
    215215    MutexLocker locker(m_scopeSampleMapMutex);
    216216    m_scopeSampleMap->set(scope, new ScopeSampleRecord(scope));
    217 }
    218 #endif
     217#else
     218    UNUSED_PARAM(scope);
     219#endif
     220}
    219221
    220222void SamplingTool::setup()
Note: See TracChangeset for help on using the changeset viewer.