Changeset 120676 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jun 18, 2012, 11:07:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r120244 r120676 1601 1601 , m_optimizationDelayCounter(0) 1602 1602 , m_reoptimizationRetryCounter(0) 1603 , m_lineInfo(other.m_lineInfo) 1603 1604 #if ENABLE(JIT) 1604 1605 , m_canCompileWithDFGState(DFG::CapabilityLevelNotSet) … … 1608 1609 optimizeAfterWarmUp(); 1609 1610 jitAfterWarmUp(); 1610 1611 1611 1612 if (other.m_rareData) { 1612 1613 createRareDataIfNecessary(); … … 1619 1620 m_rareData->m_stringSwitchJumpTables = other.m_rareData->m_stringSwitchJumpTables; 1620 1621 m_rareData->m_expressionInfo = other.m_rareData->m_expressionInfo; 1621 m_rareData->m_lineInfo = other.m_rareData->m_lineInfo;1622 1622 } 1623 1623 } … … 2164 2164 ASSERT(bytecodeOffset < instructions().size()); 2165 2165 2166 if (!m_rareData) 2167 return m_ownerExecutable->source().firstLine(); 2168 2169 Vector<LineInfo>& lineInfo = m_rareData->m_lineInfo; 2166 Vector<LineInfo>& lineInfo = m_lineInfo; 2170 2167 2171 2168 int low = 0; … … 2292 2289 } // else don't shrink these, because we would have already pointed pointers into these tables. 2293 2290 2291 m_lineInfo.shrinkToFit(); 2294 2292 if (m_rareData) { 2295 2293 m_rareData->m_exceptionHandlers.shrinkToFit(); … … 2299 2297 m_rareData->m_stringSwitchJumpTables.shrinkToFit(); 2300 2298 m_rareData->m_expressionInfo.shrinkToFit(); 2301 m_rareData->m_lineInfo.shrinkToFit();2302 2299 #if ENABLE(JIT) 2303 2300 m_rareData->m_callReturnIndexVector.shrinkToFit();
Note:
See TracChangeset
for help on using the changeset viewer.