mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Process all basic blocks for jump threading.
I'd copied the for loop from the dead block removal code, but jump threading doesn't need to look at the following block...
This commit is contained in:
parent
f169a7732d
commit
33bfac0508
1 changed files with 1 additions and 1 deletions
|
@ -1099,7 +1099,7 @@ thread_jumps (sblock_t *blocks)
|
|||
|
||||
if (!blocks)
|
||||
return;
|
||||
for (sblock = blocks; sblock->next; sblock = sblock->next) {
|
||||
for (sblock = blocks; sblock; sblock = sblock->next) {
|
||||
statement_t *s;
|
||||
ex_label_t **label, *l;
|
||||
|
||||
|
|
Loading…
Reference in a new issue