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

Andreas Kling
Reported 2015-06-08 22:10:00 PDT
We should use Vector::resizeToFit() instead of Vector::resize() when we know the final size for something.
Attachments
Patch (6.41 KB, patch)
2015-06-08 22:10 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2015-06-08 22:10:22 PDT
Andreas Kling
Comment 2 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>
Andreas Kling
Comment 3 2015-06-09 14:26:13 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.