Bug 149999

Summary: Reduce pointless malloc traffic in CodeBlock construction.
Product: WebKit Reporter: Andreas Kling <kling>
Component: JavaScriptCoreAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, kling
Priority: P2 Keywords: Performance
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2015-10-10 08:37:58 PDT
We can create the RefCountedArray<Instruction> directly instead of first creating a Vector<Instruction> and then building the RefCountedArray from that.
Comment 1 Andreas Kling 2015-10-10 08:42:55 PDT
Created attachment 262827 [details]
Patch
Comment 2 Pratik Solanki 2015-10-10 09:02:27 PDT
*** Bug 149998 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Kling 2015-10-10 14:15:37 PDT
Comment on attachment 262827 [details]
Patch

Clearing flags on attachment: 262827

Committed r190843: <http://trac.webkit.org/changeset/190843>
Comment 4 Andreas Kling 2015-10-10 14:15:44 PDT
All reviewed patches have been landed.  Closing bug.