Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add logic to track whether a function uses a locally scoped eval or r…
…equires a closure Reviewed by Maciej Now that we limit eval we can track those uses of eval that operate in the local scope and functions that require a closure. We track this information during initial parsing to avoid yet another tree walk. Canonical link: https://commits.webkit.org/24755@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
395 additions
and 285 deletions.
- +31 −0 JavaScriptCore/ChangeLog
- +1 −1 JavaScriptCore/JavaScriptCore.exp
- +34 −13 JavaScriptCore/kjs/NodeInfo.h
- +3 −1 JavaScriptCore/kjs/Parser.cpp
- +6 −2 JavaScriptCore/kjs/Parser.h
- +288 −242 JavaScriptCore/kjs/grammar.y
- +19 −17 JavaScriptCore/kjs/nodes.cpp
- +13 −9 JavaScriptCore/kjs/nodes.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.