* tree-cfg.c (create_bb): Remove unnecessary memset.
From-SVN: r90360
This commit is contained in:
parent
6c99d79fbf
commit
27fd69fada
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
@ -375,9 +375,10 @@ create_bb (void *h, void *e, basic_block after)
|
|||
|
||||
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 ();
|
||||
memset (bb, 0, sizeof (*bb));
|
||||
|
||||
bb->index = last_basic_block;
|
||||
bb->flags = BB_NEW;
|
||||
|
|
Loading…
Add table
Reference in a new issue