-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate more scopes in FunctionAnalysis
Summary: Detect when a closure is being stored into an inner scope, and use that to propagate the scope, since the closure scope is still reachable from the inner scope. This is especially useful in the presence of scope hoisting, because the closure's parent may be changed to some outer scope, while it is still being stored in the original scope. Reviewed By: avp Differential Revision: D68187124 fbshipit-source-id: 6ed0f408cba5c7cc5fcef9a9fed234ad19f32fc6
- Loading branch information
1 parent
4df0908
commit 6ddb3a9
Showing
2 changed files
with
30 additions
and
6 deletions.
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