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

Detecting unused JUMPDESTs #4

Open
fjl opened this issue Sep 13, 2023 · 0 comments
Open

Detecting unused JUMPDESTs #4

fjl opened this issue Sep 13, 2023 · 0 comments

Comments

@fjl
Copy link
Owner

fjl commented Sep 13, 2023

It's pretty easy to forget to remove a label when it's no longer needed. The assembler could walk the program after generating instructions and verify that all labels are used. It should emit a warning if it can't find any reference to a particular label in the program source.

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

No branches or pull requests

1 participant