Commit 29cc8719 by Kazu Hirata Committed by Kazu Hirata

* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.

From-SVN: r91648
parent d134295f
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF * tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
is not null. is not null.
* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
2004-12-02 Jeff Law <law@redhat.com> 2004-12-02 Jeff Law <law@redhat.com>
* tree-eh.c: Revert yesterday's change. * tree-eh.c: Revert yesterday's change.
......
...@@ -4106,7 +4106,7 @@ thread_jumps (void) ...@@ -4106,7 +4106,7 @@ thread_jumps (void)
{ {
basic_block bb; basic_block bb;
bool retval = false; bool retval = false;
basic_block *worklist = xmalloc (sizeof (basic_block) * last_basic_block); basic_block *worklist = xmalloc (sizeof (basic_block) * n_basic_blocks);
basic_block *current = worklist; basic_block *current = worklist;
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment