mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
8ddd58f951
The naive implementation of the if/goto merging was letting the old target of the if get dropped because the block would lose its label and thus be judged unreachable because the preceeding goto block was still in the list. Instead, when the if/goto are "merged", mark the goto block as unreachable, the following block as reachable, and break out of the analysis loop to force the removal of the goto block. Since the dead block removal function loops until no action is taken, all other dead blocks will be removed. |
||
---|---|---|
.. | ||
doc | ||
include | ||
source | ||
test | ||
AUTHORS | ||
bootstrap | ||
configure.in | ||
Makefile.am | ||
TODO |