+2017-05-03 Martin Jambor <mjambor@suse.cz>
+
+ * ipa-prop.c (ipa_update_after_lto_read): Removed.
+ * ipa-prop.h (ipa_update_after_lto_read): Remove declaration.
+ * ipa-cp.c (ipcp_propagate_stage): Do not call
+ ipa_update_after_lto_read.
+ * ipa-inline.c (ipa_inline): Likewise.
+
2017-05-03 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (ipa_edge_args): Make a class. Mark with for_user GTY
if (dump_file)
fprintf (dump_file, "\n Propagating constants:\n\n");
- if (in_lto_p)
- ipa_update_after_lto_read ();
-
-
FOR_EACH_DEFINED_FUNCTION (node)
{
struct ipa_node_params *info = IPA_NODE_REF (node);
order = XCNEWVEC (struct cgraph_node *, symtab->cgraph_count);
- if (in_lto_p && optimize)
- ipa_update_after_lto_read ();
-
if (dump_file)
dump_inline_summaries (dump_file);
}
}
-/* After merging units, we can get mismatch in argument counts.
- Also decl merging might've rendered parameter lists obsolete.
- Also compute called_with_variable_arg info. */
-
-void
-ipa_update_after_lto_read (void)
-{
- ipa_check_create_node_params ();
- ipa_check_create_edge_args ();
-}
-
void
write_ipcp_transformation_info (output_block *ob, cgraph_node *node)
{
void ipa_prop_read_jump_functions (void);
void ipcp_write_transformation_summaries (void);
void ipcp_read_transformation_summaries (void);
-void ipa_update_after_lto_read (void);
int ipa_get_param_decl_index (struct ipa_node_params *, tree);
tree ipa_value_from_jfunc (struct ipa_node_params *info,
struct ipa_jump_func *jfunc);