Bug 152710

Summary: Subclassing builtins should create a new structure and cache it rather than transitioning.
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Keith Miller
Reported 2016-01-04 12:59:41 PST
We should not transition the structure each time we want to make a structure with a non-BuiltinConstructor.prototype prototype. Instead we should make a new structure and cache it for next time.
Attachments
Keith Miller
Comment 1 2016-01-27 14:37:13 PST
*** This bug has been marked as a duplicate of bug 152942 ***
Note You need to log in before you can comment on or make changes to this bug.