geas icon indicating copy to clipboard operation
geas copied to clipboard

Detecting unused JUMPDESTs

Open fjl opened this issue 2 years ago • 0 comments

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.

fjl avatar Sep 13 '23 17:09 fjl