Bug 18647 - SquirrelFish does not do static type inference
Summary: SquirrelFish does not do static type inference
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 16:48 PDT by Maciej Stachowiak
Modified: 2012-03-07 17:48 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2008-04-20 16:48:48 PDT
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.
Comment 1 Mark Rowe (bdash) 2008-05-30 11:45:40 PDT
Bug 19180 covers some numeric cases of this optimisation.
Comment 2 Gavin Barraclough 2012-03-07 17:48:26 PST
We now have static & dynamic type specializations.