Bug 140805 - Sink function allocations, and then the activation allocation, to a point where we know that let-bound variables are initialized - and then allow those functions' code to be optimized without TDZ checks
Summary: Sink function allocations, and then the activation allocation, to a point whe...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-22 17:47 PST by Filip Pizlo
Modified: 2015-01-22 17:47 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2015-01-22 17:47:36 PST
The optimizing compiler already has the ability to sink allocations to the point where they escape.  Doing this for activation and function allocations would enable us to prove cases where the function cannot see the TDZ of some let-bound variables.