diff options
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 077f9bf..6c17a5f 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -41,7 +41,14 @@ hook_bool_void_false (void) return false; } -/* The same, but formally returning NO_REGS. */ +/* Generic hook that takes no arguments and returns true. */ +bool +hook_bool_void_true (void) +{ + return true; +} + +/* Generic hook that takes no arguments and returns NO_REGS. */ int hook_int_void_no_regs (void) { |