Bug 123677
| Summary: | Get rid of baselineVersion() and consider calling alternative() instead of baselineAlternative() (or baselineVersion()) in most places | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
| Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, barraclough, ggaren, mark.lam, mhahnenberg, msaboff, nrotem, oliver, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Filip Pizlo
It used to be the case that a CodeBlock only had an alternative() if it hadn't been jettisoned. So if you wanted to find the baseline version of a DFG code block, you had to do special things (i.e. what baselineVersion() does) in case you had been jettisoned.
That's no longer the case. DFG and FTL CodeBlocks always have an alternative() and it's always a baseline CodeBlock.
Also, baselineVersion() turns out to be the root of all evil if we've cleared all code.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |