df.c (df_rd_global_compute): Add successors to worklist, not current item.

2001-07-29  Daniel Berlin  <dan@cgsoftware.com>

	* df.c (df_rd_global_compute): Add successors to worklist, not
	current item.
	(df_ru_global_compute): Ditto for preds.

From-SVN: r44461
This commit is contained in:
Daniel Berlin 2001-07-29 18:23:36 +00:00 committed by Daniel Berlin
parent b2d5779326
commit 12285d9df8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-07-29 Daniel Berlin <dan@cgsoftware.com>
* df.c (df_rd_global_compute): Add successors to worklist, not
current item.
(df_ru_global_compute): Ditto.
2001-07-27 Daniel Berlin <dan@cgsoftware.com>
* regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we

View File

@ -1684,7 +1684,7 @@ df_rd_global_compute (df, blocks)
if (e->dest == EXIT_BLOCK_PTR)
continue;
SET_BIT (worklist, i);
SET_BIT (worklist, e->dest->index);
}
}
}
@ -1761,7 +1761,7 @@ df_ru_global_compute (df, blocks)
if (e->src == ENTRY_BLOCK_PTR)
continue;
SET_BIT (worklist, i);
SET_BIT (worklist, e->src->index);
}
}
}