Bug 182940

Summary: ArrayProfile should profile when it loads from holes
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: NEW    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, rmorisset, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 182912    
Bug Blocks:    

Saam Barati
Reported 2018-02-19 14:00:13 PST
Then, if we're doing a GetByVal on an OriginalArray in the DFG, we can optimize when we load from holes for Int32/ArrayStorage and maybe double. Right now, we'll mark it as an out of bounds load. Then, we'll think these loads are effectful.
Attachments
Note You need to log in before you can comment on or make changes to this bug.