Bug 72072
| Summary: | DFG does worse than the old JIT for virtual calls | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 72065 | ||
| Bug Blocks: | |||
Filip Pizlo
The DFG calls to a C function to do virtual calls, while the old JIT calls a JIT-generated thunk. The DFG should try to perform at least as well as the old JIT for virtual calls.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Filip Pizlo
This depends on https://bugs.webkit.org/show_bug.cgi?id=72065 because we probably want the DFG to be able to specialize for virtual calls where non-JSFunctions are never the callee. To do that we need a PredictFunction facility.