CodeBlock: Size m_callLinkInfos and m_byValInfos to fit earlier.
<https://webkit.org/b/127239> Reviewed by Anders Carlsson. * bytecode/CodeBlock.h: (JSC::CodeBlock::setNumberOfByValInfos): (JSC::CodeBlock::setNumberOfCallLinkInfos): Use resizeToFit() instead of grow() for these vectors, since we know the final size here. * bytecode/CodeBlock.cpp: (JSC::CodeBlock::shrinkToFit): No need to shrink here anymore. We were not even shrinking m_byValInfo before! git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 22 additions and 5 deletions