diff options
author | Michael Matz <matz@suse.de> | 2009-04-27 12:16:00 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2009-04-27 12:16:00 +0000 |
commit | e97809c61da551db637b6113095522795ca46f60 (patch) | |
tree | 7f62f8eda796cd4e483b1fb239fc73ab0b2e64f4 /gcc/tree-outof-ssa.c | |
parent | 211ca15cb41d3ae362b6e0b01e47344a9b30d987 (diff) | |
download | gcc-e97809c61da551db637b6113095522795ca46f60.zip gcc-e97809c61da551db637b6113095522795ca46f60.tar.gz gcc-e97809c61da551db637b6113095522795ca46f60.tar.bz2 |
ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap.
* ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap.
(get_gimple_for_ssa_name): Adjust, lookup using SSA_NAME_DEF_STMT.
* tree-ssa-live.h: (find_replaceable_exprs): Return a bitmap.
(dump_replaceable_exprs): Take a bitmap.
* cfgexpand.c (gimple_cond_pred_to_tree): Handle bitmap instead of
array.
(expand_gimple_basic_block): Likewise.
* tree-ssa-ter.c (struct temp_expr_table_d): Make
replaceable_expressions member a bitmap.
(free_temp_expr_table): Pass back and deal with bitmap, not gimple*.
(mark_replaceable): Likewise.
(find_replaceable_in_bb, dump_replaceable_exprs): Likewise.
* tree-outof-ssa.c (remove_ssa_form): 'values' is a bitmap.
From-SVN: r146837
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 6000a82..4e7c787 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -791,7 +791,7 @@ expand_phi_nodes (struct ssaexpand *sa) static void remove_ssa_form (bool perform_ter, struct ssaexpand *sa) { - gimple *values = NULL; + bitmap values = NULL; var_map map; unsigned i; @@ -926,7 +926,7 @@ finish_out_of_ssa (struct ssaexpand *sa) { free (sa->partition_to_pseudo); if (sa->values) - free (sa->values); + BITMAP_FREE (sa->values); delete_var_map (sa->map); BITMAP_FREE (sa->partition_has_default_def); memset (sa, 0, sizeof *sa); |