Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS: Do not track returned values out of the enclosing function #10985

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Oct 26, 2022

reachesReturn would in some cases track the returned value out to call sites, which doesn't lead anywhere. It could also track into callees via return edges, but that's not useful either, since summaries take care of flow through callees.

This fixes a performance issue raised by #10937 (but it's possible there are more underlying issues to be fixed)

Evaluation looks neutral

@github-actions github-actions bot added the JS label Oct 26, 2022
@asgerf asgerf marked this pull request as ready for review October 26, 2022 07:40
@asgerf asgerf requested a review from a team as a code owner October 26, 2022 07:40
@asgerf asgerf added the no-change-note-required This PR does not need a change note label Oct 26, 2022
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants