Bug 182940
Summary: | ArrayProfile should profile when it loads from holes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Saam Barati <saam> |
Component: | JavaScriptCore | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |