Bug 152710
| Summary: | Subclassing builtins should create a new structure and cache it rather than transitioning. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Keith Miller
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Keith Miller
*** This bug has been marked as a duplicate of bug 152942 ***