cgraph.h (cgraph_set_nothrow_flag, [...]): New prototypes.
authorJakub Jelinek <jakub@redhat.com>
Mon, 14 Dec 2009 16:53:57 +0000 (17:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 14 Dec 2009 16:53:57 +0000 (17:53 +0100)
commit20cdc2be22a6e32fd6a0fbedae32473e3698961a
treec56a297fcbcb5b2a3c120a9cbdc79b0ad1dc5625
parent7cb792f51087a104ac286ca9483c25849e437733
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
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/except.c
gcc/except.h
gcc/ipa-pure-const.c