[tree-ssa] Translation out of SSA

Diego Novillo dnovillo@redhat.com
Thu Apr 24 15:43:00 GMT 2003


On Thu, Apr 24, 2003 at 10:31:41AM -0400, Andrew MacLeod wrote:

> OK to check in?
> 
Sure.  Minor formatting nitpicking below.

> + static tree_live_info_p
> + new_tree_live_info (map)
> +      var_map map;
>
Comment here.

> + void 
> + delete_tree_live_info (live)
> +      tree_live_info_p live;
>
And here.

> + root_var_p
> + init_root_var (map)
> +      var_map map;
> + {
> +   root_var_p rv;
> +   int num_partitions = num_var_partitions (map);
> +   int x;
> +   tree t;
> +   var_ann_t ann;
> + 
> +   if (num_partitions == 0)
> +     return NULL;
> + 
> +   rv = (root_var_p) xmalloc (sizeof (struct root_var_d));
> +   rv->num_root_vars = 0;
> +   rv->map = map;
> +   rv->next_partition = (int *)xmalloc (num_partitions * sizeof (int));
> +   memset (rv->next_partition, 0xff, num_partitions * sizeof (int));
> + 
0xff?  Maybe ROOT_VAR_NONE?  Or maybe I'm really confused :)


Diego.



More information about the Gcc-patches mailing list