Changeset 145401 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Mar 11, 2013, 2:02:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r145329 r145401 1 2013-03-11 Oliver Hunt <[email protected]> 2 3 Make SegmentedVector Noncopyable 4 https://bugs.webkit.org/show_bug.cgi?id=112059 5 6 Reviewed by Geoffrey Garen. 7 8 Copying a SegmentedVector is very expensive, and really shouldn't 9 be necessary. So I've taken the one place where we currently copy 10 and replaced it with a regular Vector, and replaced the address 11 dependent logic with a indexing ref instead. 12 13 * bytecompiler/BytecodeGenerator.cpp: 14 (JSC::BytecodeGenerator::newLabelScope): 15 (JSC::BytecodeGenerator::emitComplexJumpScopes): 16 * bytecompiler/BytecodeGenerator.h: 17 (BytecodeGenerator): 18 * bytecompiler/LabelScope.h: 19 (JSC): 20 (JSC::LabelScopePtr::LabelScopePtr): 21 (LabelScopePtr): 22 (JSC::LabelScopePtr::operator=): 23 (JSC::LabelScopePtr::~LabelScopePtr): 24 (JSC::LabelScopePtr::operator*): 25 (JSC::LabelScopePtr::operator->): 26 * bytecompiler/NodesCodegen.cpp: 27 (JSC::DoWhileNode::emitBytecode): 28 (JSC::WhileNode::emitBytecode): 29 (JSC::ForNode::emitBytecode): 30 (JSC::ForInNode::emitBytecode): 31 (JSC::SwitchNode::emitBytecode): 32 (JSC::LabelNode::emitBytecode): 33 1 34 2013-03-10 Andreas Kling <[email protected]> 2 35
Note:
See TracChangeset
for help on using the changeset viewer.