Commit f5d3b855 by Martin Jambor Committed by Martin Jambor

ipa-cp.c (ipcp_init_cloned_node): Replace calls to ipa_check_create_node_params…

ipa-cp.c (ipcp_init_cloned_node): Replace calls to ipa_check_create_node_params and ipa_initialize_node_params...

2010-06-28  Martin Jambor  <mjambor@suse.cz>

	* ipa-cp.c (ipcp_init_cloned_node): Replace calls to
	ipa_check_create_node_params and ipa_initialize_node_params with
	checking asserts they are not necessary.

From-SVN: r161502
parent 4021f4a1
2010-06-28 Martin Jambor <mjambor@suse.cz>
* ipa-cp.c (ipcp_init_cloned_node): Replace calls to
ipa_check_create_node_params and ipa_initialize_node_params with
checking asserts they are not necessary.
2010-06-28 Jan Hubicka <jh@suse.cz> 2010-06-28 Jan Hubicka <jh@suse.cz>
PR tree-optimization/44687 PR tree-optimization/44687
......
...@@ -172,8 +172,11 @@ static void ...@@ -172,8 +172,11 @@ static void
ipcp_init_cloned_node (struct cgraph_node *orig_node, ipcp_init_cloned_node (struct cgraph_node *orig_node,
struct cgraph_node *new_node) struct cgraph_node *new_node)
{ {
ipa_check_create_node_params (); gcc_checking_assert (ipa_node_params_vector
ipa_initialize_node_params (new_node); && (VEC_length (ipa_node_params_t,
ipa_node_params_vector)
> (unsigned) cgraph_max_uid));
gcc_checking_assert (IPA_NODE_REF (new_node)->params);
IPA_NODE_REF (new_node)->ipcp_orig_node = orig_node; IPA_NODE_REF (new_node)->ipcp_orig_node = orig_node;
} }
......
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