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+

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.