Changeset 90423 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jul 5, 2011, 5:56:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r90415 r90423 44 44 #include <wtf/StringExtras.h> 45 45 46 #if ENABLE(DFG_JIT) 47 #include "DFGOperations.h" 48 #endif 49 46 50 #define DUMP_CODE_BLOCK_STATISTICS 0 47 51 48 52 namespace JSC { 53 54 #if ENABLE(DFG_JIT) 55 using namespace DFG; 56 #endif 49 57 50 58 #if !defined(NDEBUG) || ENABLE(OPCODE_SAMPLING) … … 1740 1748 if (!m_callLinkInfos[i].isLinked()) 1741 1749 continue; 1742 repatchBuffer.relink(m_callLinkInfos[i].callReturnLocation, m_callLinkInfos[i].isCall ? m_globalData->jitStubs->ctiVirtualCallLink() : m_globalData->jitStubs->ctiVirtualConstructLink()); 1750 if (getJITCode().jitType() == JITCode::DFGJIT) { 1751 #if ENABLE(DFG_JIT) 1752 repatchBuffer.relink(CodeLocationCall(m_callLinkInfos[i].callReturnLocation), operationLinkCall); 1753 #else 1754 ASSERT_NOT_REACHED(); 1755 #endif 1756 } else 1757 repatchBuffer.relink(CodeLocationNearCall(m_callLinkInfos[i].callReturnLocation), m_callLinkInfos[i].isCall ? m_globalData->jitStubs->ctiVirtualCallLink() : m_globalData->jitStubs->ctiVirtualConstructLink()); 1743 1758 m_callLinkInfos[i].unlink(); 1744 1759 }
Note:
See TracChangeset
for help on using the changeset viewer.