Bug 99263
Summary: | Structure checks that are hoisted should contribute their OSR exit profiling to the bytecode instructions that would have had the checks had they not been hoisted | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> |
Status: | NEW | ||
Severity: | Normal | CC: | barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 98606 |
Filip Pizlo
Currently structure check hoisting almost completely breaks OSR exit profiling of structure checks. If a hoisted structure check fails, it only tells OSR exit profiling not to hoist that check in the future. But that implies that we might have to do one additional round of recompilation just to discover that we shouldn't have been emitting a structure check to begin with.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |