diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-05-07 19:35:23 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-05-07 19:35:23 +0000 |
commit | 9bbf45f692c7f45b0bdbeffb6eb837790433e676 (patch) | |
tree | 31b5aecd265d0c3fa763e73cc3eff8ef0778f7e7 /gcc/gimple.h | |
parent | 04e5eb5f10dd261bedcaf5618a4147ffe3784a34 (diff) | |
download | gcc-9bbf45f692c7f45b0bdbeffb6eb837790433e676.tar.gz |
Const-correctness of gimple_call_builtin_p
gcc/
2014-05-07 David Malcolm <dmalcolm@redhat.com>
* gimple.h (gimple_builtin_call_types_compatible_p): Accept a
const_gimple, rather than a gimple.
(gimple_call_builtin_p): Likewise, for the three variants.
* gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
(gimple_call_builtin_p): Likewise, for the three variants.
From-SVN: r210185
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index edb46351ea6..9df45de94b6 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1256,10 +1256,10 @@ extern tree gimple_unsigned_type (tree); extern tree gimple_signed_type (tree); extern alias_set_type gimple_get_alias_set (tree); extern bool gimple_ior_addresses_taken (bitmap, gimple); -extern bool gimple_builtin_call_types_compatible_p (gimple, tree); -extern bool gimple_call_builtin_p (gimple); -extern bool gimple_call_builtin_p (gimple, enum built_in_class); -extern bool gimple_call_builtin_p (gimple, enum built_in_function); +extern bool gimple_builtin_call_types_compatible_p (const_gimple, tree); +extern bool gimple_call_builtin_p (const_gimple); +extern bool gimple_call_builtin_p (const_gimple, enum built_in_class); +extern bool gimple_call_builtin_p (const_gimple, enum built_in_function); extern bool gimple_asm_clobbers_memory_p (const_gimple); extern void dump_decl_set (FILE *, bitmap); extern bool nonfreeing_call_p (gimple); |