diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 11:49:36 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 11:49:36 +0000 |
commit | 7115ea0573bd294c444ed99fe7685b4646fa2dd6 (patch) | |
tree | 0bf93b58c18ebebe3ec5631fc8ca7271c6f036c0 /gcc/ipa-prop.h | |
parent | b53b53b4d02d73419519acd48cfbd1123950f062 (diff) | |
download | gcc-7115ea0573bd294c444ed99fe7685b4646fa2dd6.tar.gz |
2010-05-19 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (ipa_print_node_jump_functions): Print jump functions
also for indirect edges. Actual printing moved...
(ipa_print_node_jump_functions_for_edge): ...here.
(ipa_compute_jump_functions): Renamed to
ipa_compute_jump_functions_for_edge and made static.
(ipa_compute_jump_functions): New function.
(make_edge_direct_to_target): Check if the number of arguments on
the newly direct edge is the same as the number of parametrs of
the callee.
* ipa-cp.c (ipcp_init_stage): Most functionality moved to new
ipa_compute_jump_functions. Call ipa_analyze_params_uses.
* ipa-inline.c (inline_indirect_intraprocedural_analysis): Call
analysis functions unconditionally, call the new
ipa_analyze_params_uses on the node instead of every edge.
* testsuite/g++.dg/ipa/ivinline-8.C: New test.
* testsuite/gcc.dg/ipa/iinline-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159559 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index c142c03db28..110044e4da4 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -413,7 +413,7 @@ ipa_push_func_to_list (struct ipa_func_list **wl, struct cgraph_node *node) } /* Callsite related calculations. */ -void ipa_compute_jump_functions (struct cgraph_edge *); +void ipa_compute_jump_functions (struct cgraph_node *); void ipa_count_arguments (struct cgraph_edge *); /* Function formal parameters related computations. */ |