Bug 18647
| Summary: | SquirrelFish does not do static type inference | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Maciej Stachowiak <mjs> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | barraclough, emacemac7 |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
Maciej Stachowiak
The original JavaScriptCore engine did limited static type inference for things like "numeric less" or "string add", to reduce the cost of dynamic dispatch and sometimes save having to create boxed JS values. We'd like to add equivalent functionality to SquirrelFish, though it may be done in somewhat different ways.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
Bug 19180 covers some numeric cases of this optimisation.
Gavin Barraclough
We now have static & dynamic type specializations.