Changeset 163337 in webkit
- Timestamp:
- Feb 3, 2014 4:13:01 PM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r163334 r163337 1 2014-02-03 Andreas Kling <akling@apple.com> 2 3 Keep only captured symbols in CodeBlock symbol tables. 4 <https://webkit.org/b/128050> 5 6 Discard all uncaptured symbols at the end of codegen since only 7 the captured ones will be used after that point. 8 9 ~2MB progression on Membuster OSUS. 10 11 Reviewed by Geoffrey Garen. 12 13 * bytecode/UnlinkedCodeBlock.h: 14 (JSC::UnlinkedCodeBlock::setSymbolTable): 15 * bytecompiler/BytecodeGenerator.cpp: 16 (JSC::BytecodeGenerator::generate): 17 1 18 2014-02-03 Mark Hahnenberg <mhahnenberg@apple.com> 2 19 -
trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h
r163321 r163337 384 384 385 385 SymbolTable* symbolTable() const { return m_symbolTable.get(); } 386 void setSymbolTable(SymbolTable* table) { m_symbolTable.set(*m_vm, this, table); } 386 387 387 388 VM* vm() const { return m_vm; } -
trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r163328 r163337 115 115 116 116 m_codeBlock->shrinkToFit(); 117 118 if (m_codeBlock->symbolTable()) 119 m_codeBlock->setSymbolTable(m_codeBlock->symbolTable()->cloneCapturedNames(*m_codeBlock->vm())); 117 120 118 121 if (m_expressionTooDeep)
Note: See TracChangeset
for help on using the changeset viewer.