Bug 123299

Summary: The GetById->GetByOffset AI-based optimization should actually do things
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch oliver: review+

Filip Pizlo
Reported 2013-10-24 16:10:46 PDT
Somehow or another, we ended up turning this optimization off by making GetByIdStatus not set m_state to Simple. The result was that we'd return a GetByIdStatus advertising that it has NoInformation, and the abstract interpreter would assume that it can't optimize the GetById. Lol.
Attachments
the patch (1.27 KB, patch)
2013-10-24 16:12 PDT, Filip Pizlo
oliver: review+
Filip Pizlo
Comment 1 2013-10-24 16:12:54 PDT
Created attachment 215118 [details] the patch
Filip Pizlo
Comment 2 2013-10-28 10:18:36 PDT
Note You need to log in before you can comment on or make changes to this bug.