geas
geas copied to clipboard
Detecting unused JUMPDESTs
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.