Bug 21862 - Create JSFunction prototype property lazily
Summary: Create JSFunction prototype property lazily
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Cameron Zwarich (cpst)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-24 13:32 PDT by Cameron Zwarich (cpst)
Modified: 2008-10-24 13:47 PDT (History)
0 users

See Also:


Attachments
Proposed patch (3.11 KB, patch)
2008-10-24 13:34 PDT, Cameron Zwarich (cpst)
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Zwarich (cpst) 2008-10-24 13:32:24 PDT
We currently create an prototype object for every JSFunction and put it in the prototype property. I have a patch to do this lazily instead.
Comment 1 Cameron Zwarich (cpst) 2008-10-24 13:34:54 PDT
Created attachment 24647 [details]
Proposed patch
Comment 2 Maciej Stachowiak 2008-10-24 13:37:29 PDT
Comment on attachment 24647 [details]
Proposed patch

r=me
Comment 3 Cameron Zwarich (cpst) 2008-10-24 13:47:38 PDT
Landed in r37859.