Ignore:
Timestamp:
Jan 16, 2009, 3:34:46 PM (16 years ago)
Author:
[email protected]
Message:

2009-01-16 Gavin Barraclough <[email protected]>

Reviewed by Geoff Garen.

Fixes for SamplingTool.

https://bugs.webkit.org/show_bug.cgi?id=23390

  • assembler/MacroAssembler.h: (JSC::MacroAssembler::storePtr):
  • bytecode/SamplingTool.cpp: (JSC::SamplingTool::run): (JSC::SamplingTool::dump):
  • bytecode/SamplingTool.h: (JSC::SamplingTool::encodeSample):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompile):
  • jit/JIT.h: (JSC::JIT::samplingToolTrackCodeBlock):
  • jit/JITCall.cpp: (JSC::JIT::compileOpCall): (JSC::JIT::compileOpCallSlowCase):
  • jit/JITInlineMethods.h: (JSC::JIT::emitCTICall_internal):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITCall.cpp

    r39851 r39993  
    168168    emitPutVirtualRegister(dst);
    169169
    170 #if ENABLE(CODEBLOCK_SAMPLING)
    171     storePtr(ImmPtr(m_codeBlock), m_interpreter->sampler()->codeBlockSlot());
    172 #endif
     170    sampleCodeBlock(m_codeBlock);
    173171}
    174172
     
    185183    emitPutVirtualRegister(dst);
    186184
    187 #if ENABLE(CODEBLOCK_SAMPLING)
    188     storePtr(ImmPtr(m_codeBlock), m_interpreter->sampler()->codeBlockSlot());
    189 #endif
     185    sampleCodeBlock(m_codeBlock);
    190186}
    191187
     
    257253    emitPutVirtualRegister(dst);
    258254
    259 #if ENABLE(CODEBLOCK_SAMPLING)
    260         storePtr(ImmPtr(m_codeBlock), m_interpreter->sampler()->codeBlockSlot());
    261 #endif
     255    sampleCodeBlock(m_codeBlock);
    262256}
    263257
     
    342336    emitPutVirtualRegister(dst);
    343337
    344 #if ENABLE(CODEBLOCK_SAMPLING)
    345     storePtr(ImmPtr(m_codeBlock), m_interpreter->sampler()->codeBlockSlot());
     338    sampleCodeBlock(m_codeBlock);
     339}
     340
    346341#endif
    347 }
    348 
    349 #endif
    350342
    351343} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.