Bug 159387 - BytecodeGenerator::getVariablesUnderTDZ is too conservative
Summary: BytecodeGenerator::getVariablesUnderTDZ is too conservative
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Saam Barati
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-02 10:39 PDT by Filip Pizlo
Modified: 2016-07-03 14:37 PDT (History)
14 users (show)

See Also:


Attachments
patch (5.12 KB, patch)
2016-07-03 02:14 PDT, Saam Barati
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2016-07-02 10:39:23 PDT
For example it will say that "x" is under TDZ in the "...":

{
    {
        let x;
        ...
    }
    let x;
}
Comment 1 Saam Barati 2016-07-03 02:14:23 PDT
Created attachment 282657 [details]
patch
Comment 2 WebKit Commit Bot 2016-07-03 14:37:19 PDT
Comment on attachment 282657 [details]
patch

Clearing flags on attachment: 282657

Committed r202795: <http://trac.webkit.org/changeset/202795>
Comment 3 WebKit Commit Bot 2016-07-03 14:37:25 PDT
All reviewed patches have been landed.  Closing bug.