Changeset 39993 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Jan 16, 2009, 3:34:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r39960 r39993 315 315 #if ENABLE(OPCODE_SAMPLING) 316 316 if (m_bytecodeIndex > 0) // Avoid the overhead of sampling op_enter twice. 317 s tore32(m_interpreter->sampler()->encodeSample(currentInstruction), m_interpreter->sampler()->sampleSlot());317 sampleInstruction(currentInstruction); 318 318 #endif 319 319 … … 1609 1609 void JIT::privateCompile() 1610 1610 { 1611 #if ENABLE(CODEBLOCK_SAMPLING) 1612 storePtr(ImmPtr(m_codeBlock), m_interpreter->sampler()->codeBlockSlot()); 1613 #endif 1611 sampleCodeBlock(m_codeBlock); 1614 1612 #if ENABLE(OPCODE_SAMPLING) 1615 store32(Imm32(m_interpreter->sampler()->encodeSample(m_codeBlock->instructions().begin())), m_interpreter->sampler()->sampleSlot());1613 sampleInstruction(m_codeBlock->instructions().begin()); 1616 1614 #endif 1617 1615
Note:
See TracChangeset
for help on using the changeset viewer.