Commit be2fd187 by Richard Guenther Committed by Richard Biener

tree-inline.c (estimate_num_insns): Handle EH builtins.

2010-01-20  Richard Guenther  <rguenther@suse.de>

	* tree-inline.c (estimate_num_insns): Handle EH builtins.

From-SVN: r156073
parent 1124098b
2010-01-20 Richard Guenther <rguenther@suse.de>
* tree-inline.c (estimate_num_insns): Handle EH builtins.
2010-01-20 Jakub Jelinek <jakub@redhat.com> 2010-01-20 Jakub Jelinek <jakub@redhat.com>
* sel-sched.c (create_speculation_check): Remove set but not used * sel-sched.c (create_speculation_check): Remove set but not used
......
...@@ -3310,6 +3310,12 @@ estimate_num_insns (gimple stmt, eni_weights *weights) ...@@ -3310,6 +3310,12 @@ estimate_num_insns (gimple stmt, eni_weights *weights)
cost = weights->target_builtin_call_cost; cost = weights->target_builtin_call_cost;
break; break;
/* Exception state returns or moves registers around. */
case BUILT_IN_EH_FILTER:
case BUILT_IN_EH_POINTER:
case BUILT_IN_EH_COPY_VALUES:
return 0;
default: default:
break; break;
} }
......
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