mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-13 22:44:20 +08:00
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
This commit is contained in:
parent
1124098bb2
commit
be2fd18721
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* sel-sched.c (create_speculation_check): Remove set but not used
|
||||
|
@ -3310,6 +3310,12 @@ estimate_num_insns (gimple stmt, eni_weights *weights)
|
||||
cost = weights->target_builtin_call_cost;
|
||||
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:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user