This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r178502 - in /trunk/gcc: ChangeLog ipa-prop.c i...
- From: jamborm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 03 Sep 2011 19:48:40 -0000
- Subject: r178502 - in /trunk/gcc: ChangeLog ipa-prop.c i...
Author: jamborm
Date: Sat Sep 3 19:48:39 2011
New Revision: 178502
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178502
Log:
2011-09-03 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (ipa_jump_func_t): New typedef.
(struct ipa_edge_args): Removed field argument_count, field
jump_functions turned into a vector.
(ipa_set_cs_argument_count): Removed.
(ipa_get_cs_argument_count): Updated to work on vectors.
(ipa_get_ith_jump_func): Likewise.
* ipa-prop.c (ipa_count_arguments): Removed.
(compute_scalar_jump_functions): Use ipa_get_ith_jump_func to access
jump functions. Update caller.
(compute_pass_through_member_ptrs): Likewise.
(compute_cst_member_ptr_arguments): Likewise.
(ipa_compute_jump_functions_for_edge): Get number of arguments from
the statement, allocate vector.
(ipa_compute_jump_functions): Do not call ipa_count_arguments.
(duplicate_ipa_jump_func_array): Removed.
(ipa_edge_duplication_hook): Use VEC_copy, do not copy argument count.
(ipa_read_node_info): Allocate vector.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-prop.c
trunk/gcc/ipa-prop.h