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 deadcode optimization #378

Merged
merged 1 commit into from
Jun 10, 2022
Merged

fix deadcode optimization #378

merged 1 commit into from
Jun 10, 2022

Conversation

geseq
Copy link
Collaborator

@geseq geseq commented May 8, 2022

fixes #376

essentially we need to check and ignore the jump positions before we mark a return for elimination

@geseq
Copy link
Collaborator Author

geseq commented May 8, 2022

@d5 please take a quick look when you have time

@geseq
Copy link
Collaborator Author

geseq commented Jun 7, 2022

@d5 any luck with this. It’s a bugfix and a quick win at that.

@geseq geseq merged commit 71459c4 into d5:master Jun 10, 2022
@geseq geseq deleted the deadcode-fix branch June 10, 2022 05:45
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.

Deadcode elimination optimizatio pass breaking (invalid jump position: 0)
2 participants