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: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Filip Pizlo
Reported 2016-04-07 21:01:56 PDT
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
Note You need to log in before you can comment on or make changes to this bug.