Bug 156390
| Summary: | The default inline self-repatchable code for our ICs is almost always the wrong choice | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Filip Pizlo
The most common get_by_id repatch if the property name is "length" is array.length. The most common get_by_id repatch if the property name is not "length" is a prototype access, which may be megamorphic. The most common put_by_id repatch is a transition.
Yet the default inline code for get_by_id is an inline self get and the default inline code for put_by_id is an inline self put.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |