Commit 56c0cf75 by Kazu Hirata Committed by Kazu Hirata

tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace sizeof (bitmap *) with sizeof (bitmap).

	* tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace
	sizeof (bitmap *) with sizeof (bitmap).

From-SVN: r100152
parent 2dfbef6d
2005-05-25 Kazu Hirata <kazu@cs.umass.edu>
* tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace
sizeof (bitmap *) with sizeof (bitmap).
2005-05-25 Daniel Berlin <dberlin@dberlin.org> 2005-05-25 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (perfect_nestify): Call update_stmt on the exit * lambda-code.c (perfect_nestify): Call update_stmt on the exit
......
...@@ -1750,7 +1750,7 @@ rewrite_into_ssa (void) ...@@ -1750,7 +1750,7 @@ rewrite_into_ssa (void)
sbitmap_zero (interesting_blocks); sbitmap_zero (interesting_blocks);
/* Initialize dominance frontier. */ /* Initialize dominance frontier. */
dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *)); dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap));
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
dfs[bb->index] = BITMAP_ALLOC (NULL); dfs[bb->index] = BITMAP_ALLOC (NULL);
...@@ -2736,7 +2736,7 @@ update_ssa (unsigned update_flags) ...@@ -2736,7 +2736,7 @@ update_ssa (unsigned update_flags)
/* If the caller requested PHI nodes to be added, compute /* If the caller requested PHI nodes to be added, compute
dominance frontiers. */ dominance frontiers. */
dfs = xmalloc (last_basic_block * sizeof (bitmap *)); dfs = xmalloc (last_basic_block * sizeof (bitmap));
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
dfs[bb->index] = BITMAP_ALLOC (NULL); dfs[bb->index] = BITMAP_ALLOC (NULL);
compute_dominance_frontiers (dfs); compute_dominance_frontiers (dfs);
......
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