Changeset 62612 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jul 6, 2010, 6:35:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r62551 r62612 1374 1374 CodeBlock::~CodeBlock() 1375 1375 { 1376 #if !ENABLE(JIT)1376 #if ENABLE(INTERPRETER) 1377 1377 for (size_t size = m_globalResolveInstructions.size(), i = 0; i < size; ++i) 1378 1378 derefStructures(&m_instructions[m_globalResolveInstructions[i]]); … … 1380 1380 for (size_t size = m_propertyAccessInstructions.size(), i = 0; i < size; ++i) 1381 1381 derefStructures(&m_instructions[m_propertyAccessInstructions[i]]); 1382 #else 1382 #endif 1383 #if ENABLE(JIT) 1383 1384 for (size_t size = m_globalResolveInfos.size(), i = 0; i < size; ++i) { 1384 1385 if (m_globalResolveInfos[i].structure) … … 1408 1409 #endif 1409 1410 1410 #endif // !ENABLE(JIT)1411 #endif // ENABLE(JIT) 1411 1412 1412 1413 #if DUMP_CODE_BLOCK_STATISTICS … … 1670 1671 #endif 1671 1672 1672 #if !ENABLE(JIT)1673 #if ENABLE(INTERPRETER) 1673 1674 bool CodeBlock::hasGlobalResolveInstructionAtBytecodeOffset(unsigned bytecodeOffset) 1674 1675 { … … 1690 1691 return true; 1691 1692 } 1692 #else 1693 #endif 1694 #if ENABLE(JIT) 1693 1695 bool CodeBlock::hasGlobalResolveInfoAtBytecodeOffset(unsigned bytecodeOffset) 1694 1696 { … … 1716 1718 m_instructions.shrinkToFit(); 1717 1719 1718 #if !ENABLE(JIT)1720 #if ENABLE(INTERPRETER) 1719 1721 m_propertyAccessInstructions.shrinkToFit(); 1720 1722 m_globalResolveInstructions.shrinkToFit(); 1721 #else 1723 #endif 1724 #if ENABLE(JIT) 1722 1725 m_structureStubInfos.shrinkToFit(); 1723 1726 m_globalResolveInfos.shrinkToFit();
Note:
See TracChangeset
for help on using the changeset viewer.