Commit eec42458 by David Malcolm Committed by David Malcolm

PR jit/63854: Add ira_costs_c_finalize

gcc/ChangeLog:
	PR jit/63854
	* ira-costs.c (ira_costs_c_finalize): New function.
	* ira.h (ira_costs_c_finalize): New prototype.
	* toplev.c (toplev::finalize): Call ira_costs_c_finalize.

From-SVN: r217800
parent 4c4d052c
2014-11-19 David Malcolm <dmalcolm@redhat.com>
PR jit/63854
* ira-costs.c (ira_costs_c_finalize): New function.
* ira.h (ira_costs_c_finalize): New prototype.
* toplev.c (toplev::finalize): Call ira_costs_c_finalize.
2014-11-19 David Malcolm <dmalcolm@redhat.com>
PR jit/63854
* ipa-reference.c (ipa_reference_c_finalize): Release
optimization_summary_obstack.
......@@ -2356,3 +2356,9 @@ ira_adjust_equiv_reg_cost (unsigned regno, int cost)
else
regno_equiv_gains[regno] += cost;
}
void
ira_costs_c_finalize (void)
{
this_target_ira_int->free_ira_costs ();
}
......@@ -199,4 +199,7 @@ extern bool ira_bad_reload_regno (int, rtx, rtx);
extern void ira_adjust_equiv_reg_cost (unsigned, int);
/* ira-costs.c */
extern void ira_costs_c_finalize (void);
#endif /* GCC_IRA_H */
......@@ -2169,6 +2169,7 @@ toplev::finalize (void)
gcse_c_finalize ();
ipa_cp_c_finalize ();
ipa_reference_c_finalize ();
ira_costs_c_finalize ();
params_c_finalize ();
finalize_options_struct (&global_options);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment