diff options
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 5c06562..3f11354 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -302,7 +302,7 @@ hook_bool_tree_bool_false (tree a ATTRIBUTE_UNUSED, bool b ATTRIBUTE_UNUSED) } bool -hook_bool_rtx_true (rtx a ATTRIBUTE_UNUSED) +hook_bool_rtx_insn_true (rtx_insn *insn ATTRIBUTE_UNUSED) { return true; } @@ -411,9 +411,9 @@ hook_tree_tree_tree_tree_null (tree t0 ATTRIBUTE_UNUSED, return NULL; } -/* Generic hook that takes a rtx and returns a NULL string. */ +/* Generic hook that takes an rtx_insn *and returns a NULL string. */ const char * -hook_constcharptr_const_rtx_null (const_rtx r ATTRIBUTE_UNUSED) +hook_constcharptr_const_rtx_insn_null (const rtx_insn *insn ATTRIBUTE_UNUSED) { return NULL; } @@ -447,18 +447,20 @@ hook_tree_const_tree_null (const_tree t ATTRIBUTE_UNUSED) return NULL; } -/* Generic hook that takes a rtx and an int and returns a bool. */ +/* Generic hook that takes a rtx_insn * and an int and returns a bool. */ bool -hook_bool_rtx_int_false (rtx insn ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED) +hook_bool_rtx_insn_int_false (rtx_insn *insn ATTRIBUTE_UNUSED, + int mode ATTRIBUTE_UNUSED) { return false; } -/* Generic hook that takes a rtx and an int and returns void. */ +/* Generic hook that takes a rtx_insn * and an int and returns void. */ void -hook_void_rtx_int (rtx insn ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED) +hook_void_rtx_insn_int (rtx_insn *insn ATTRIBUTE_UNUSED, + int mode ATTRIBUTE_UNUSED) { } |