Commit 27fd69fa by Kazu Hirata Committed by Kazu Hirata

* tree-cfg.c (create_bb): Remove unnecessary memset.

From-SVN: r90360
parent 6c99d79f
2004-11-09 Kazu Hirata <kazu@cs.umass.edu> 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (create_bb): Remove unnecessary memset.
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-threadupdate.c (copy_phis_to_block): Remove. * tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
(thread_block): Call flush_pending_stmt instead of (thread_block): Call flush_pending_stmt instead of
copy_phis_to_block. copy_phis_to_block.
......
...@@ -375,9 +375,10 @@ create_bb (void *h, void *e, basic_block after) ...@@ -375,9 +375,10 @@ create_bb (void *h, void *e, basic_block after)
gcc_assert (!e); gcc_assert (!e);
/* Create and initialize a new basic block. */ /* Create and initialize a new basic block. Since alloc_block uses
ggc_alloc_cleared to allocate a basic block, we do not have to
clear the newly allocated basic block here. */
bb = alloc_block (); bb = alloc_block ();
memset (bb, 0, sizeof (*bb));
bb->index = last_basic_block; bb->index = last_basic_block;
bb->flags = BB_NEW; bb->flags = BB_NEW;
......
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