Bug 21862

Summary: Create JSFunction prototype property lazily
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Cameron Zwarich (cpst) <zwarich>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch mjs: review+

Cameron Zwarich (cpst)
Reported 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.
Attachments
Proposed patch (3.11 KB, patch)
2008-10-24 13:34 PDT, Cameron Zwarich (cpst)
mjs: review+
Cameron Zwarich (cpst)
Comment 1 2008-10-24 13:34:54 PDT
Created attachment 24647 [details] Proposed patch
Maciej Stachowiak
Comment 2 2008-10-24 13:37:29 PDT
Comment on attachment 24647 [details] Proposed patch r=me
Cameron Zwarich (cpst)
Comment 3 2008-10-24 13:47:38 PDT
Landed in r37859.
Note You need to log in before you can comment on or make changes to this bug.