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

Fix a code-folding fuzz bug #1282

Merged
merged 3 commits into from
Nov 18, 2017
Merged

Fix a code-folding fuzz bug #1282

merged 3 commits into from
Nov 18, 2017

Conversation

kripken
Copy link
Member

@kripken kripken commented Nov 11, 2017

When merging code paths leading to a function exit, we move the code to the outermost scope, so it can't have break targets, as it would no longer be able to reach them.

…ved code out of where it could reach a break target - we must not move code if it has a break target not enclosed in itself. the EffectAnalyzer already had the functionality for that, move the code around a little there to make that clearer too
@kripken kripken merged commit 8a69640 into master Nov 18, 2017
@kripken kripken deleted the foldin branch November 18, 2017 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant