Bug 145784

Summary: [JSC] CodeBlock::m_constantRegisters should be sized-to-fit.
Product: WebKit Reporter: Andreas Kling <kling>
Component: JavaScriptCoreAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: kling
Priority: P2 Keywords: Performance
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2015-06-08 22:10:00 PDT
We should use Vector::resizeToFit() instead of Vector::resize() when we know the final size for something.
Comment 1 Andreas Kling 2015-06-08 22:10:22 PDT
Created attachment 254546 [details]
Patch
Comment 2 Andreas Kling 2015-06-09 14:26:09 PDT
Comment on attachment 254546 [details]
Patch

Clearing flags on attachment: 254546

Committed r185382: <http://trac.webkit.org/changeset/185382>
Comment 3 Andreas Kling 2015-06-09 14:26:13 PDT
All reviewed patches have been landed.  Closing bug.