aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-05-07 19:35:23 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-05-07 19:35:23 +0000
commit9bbf45f692c7f45b0bdbeffb6eb837790433e676 (patch)
tree31b5aecd265d0c3fa763e73cc3eff8ef0778f7e7 /gcc/gimple.h
parent04e5eb5f10dd261bedcaf5618a4147ffe3784a34 (diff)
downloadgcc-9bbf45f692c7f45b0bdbeffb6eb837790433e676.zip
gcc-9bbf45f692c7f45b0bdbeffb6eb837790433e676.tar.gz
gcc-9bbf45f692c7f45b0bdbeffb6eb837790433e676.tar.bz2
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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index edb4635..9df45de 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);