]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa-prop.h (ipa_jump_func_t): New typedef.
authorMartin Jambor <mjambor@suse.cz>
Sat, 3 Sep 2011 19:48:39 +0000 (21:48 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Sat, 3 Sep 2011 19:48:39 +0000 (21:48 +0200)
commit606d9a09761f99e1810e938b548f4675403221bd
treef58a3c72614d08e1db1d533101a557475b159314
parent8f15b6055ff17fcf51bd7521c7472272af298417
ipa-prop.h (ipa_jump_func_t): New typedef.

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.

From-SVN: r178502
gcc/ChangeLog
gcc/ipa-prop.c
gcc/ipa-prop.h