diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-12-14 17:53:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-12-14 17:53:57 +0100 |
commit | 20cdc2be22a6e32fd6a0fbedae32473e3698961a (patch) | |
tree | c56a297fcbcb5b2a3c120a9cbdc79b0ad1dc5625 /gcc/cgraph.h | |
parent | 7cb792f51087a104ac286ca9483c25849e437733 (diff) | |
download | gcc-20cdc2be22a6e32fd6a0fbedae32473e3698961a.zip gcc-20cdc2be22a6e32fd6a0fbedae32473e3698961a.tar.gz gcc-20cdc2be22a6e32fd6a0fbedae32473e3698961a.tar.bz2 |
cgraph.h (cgraph_set_nothrow_flag, [...]): New prototypes.
* cgraph.h (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
prototypes.
* cgraph.c (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
functions.
* except.h (set_nothrow_function_flags): Remove prototype.
* except.c (set_nothrow_function_flags): Use cgraph_set_nothrow_flag.
Make static.
* ipa-pure-const.c (propagate): Use cgraph_set_nothrow_flag,
cgraph_set_readonly_flag, cgraph_set_pure_flag
and cgraph_set_looping_const_or_pure_flag.
(local_pure_const): Likewise.
From-SVN: r155220
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 268e6d4..867a68a 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -475,6 +475,11 @@ struct cgraph_node * cgraph_create_virtual_clone (struct cgraph_node *old_node, VEC(ipa_replace_map_p,gc)* tree_map, bitmap args_to_skip); +void cgraph_set_nothrow_flag (struct cgraph_node *, bool); +void cgraph_set_readonly_flag (struct cgraph_node *, bool); +void cgraph_set_pure_flag (struct cgraph_node *, bool); +void cgraph_set_looping_const_or_pure_flag (struct cgraph_node *, bool); + /* In cgraphunit.c */ void cgraph_finalize_function (tree, bool); void cgraph_mark_if_needed (tree); |