-
akling@apple.com authored
<http://webkit.org/b/118852> <rdar://problem/14481659> Reviewed by Anders Carlsson. Source/JavaScriptCore: Use Vector::resizeToFit() for CodeBlock::m_argumentValueProfiles. We don't need any padding for growth, since we won't be appending to it anyway. 921 KB progression on <http://twitter.com/awesomekling> * bytecode/CodeBlock.cpp: (JSC::CodeBlock::setNumParameters): Source/WTF: Add Vector::resizeToFit(size), like resize() but without growth padding. * wtf/Vector.h: (WTF::::resizeToFit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d22d1e80