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
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* lambda-code.c (perfect_nestify): Call update_stmt on the exit
|
||||
|
||||
+2
-2
@@ -1750,7 +1750,7 @@ rewrite_into_ssa (void)
|
||||
sbitmap_zero (interesting_blocks);
|
||||
|
||||
/* Initialize dominance frontier. */
|
||||
dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
|
||||
dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap));
|
||||
FOR_EACH_BB (bb)
|
||||
dfs[bb->index] = BITMAP_ALLOC (NULL);
|
||||
|
||||
@@ -2736,7 +2736,7 @@ update_ssa (unsigned update_flags)
|
||||
|
||||
/* If the caller requested PHI nodes to be added, compute
|
||||
dominance frontiers. */
|
||||
dfs = xmalloc (last_basic_block * sizeof (bitmap *));
|
||||
dfs = xmalloc (last_basic_block * sizeof (bitmap));
|
||||
FOR_EACH_BB (bb)
|
||||
dfs[bb->index] = BITMAP_ALLOC (NULL);
|
||||
compute_dominance_frontiers (dfs);
|
||||
|
||||
Reference in New Issue
Block a user