summaryrefslogtreecommitdiff
path: root/gcc/resource.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-06-16 18:55:20 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-06-16 18:55:20 +0000
commit675f99c97fb1fa0405b19eba9785075117d50849 (patch)
tree83e14595650e69007e9dbeb944d1dff4b5977881 /gcc/resource.h
parenta322799debba41a2225dd52c2731adb5e19fa7ad (diff)
downloadgcc-675f99c97fb1fa0405b19eba9785075117d50849.tar.gz
resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool.
* resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool. Change all callers. (mark_end_of_function_resources): Likewise. * reorg.c (insn_references_resource_p): Likewise. (insn_sets_resource_p): Likewise. * resource.h (mark_referenced_resources): Update declaration. (mark_end_of_function_resources): Update declaration. From-SVN: r148547
Diffstat (limited to 'gcc/resource.h')
-rw-r--r--gcc/resource.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/resource.h b/gcc/resource.h
index 26cd294946b..b13782f1ab0 100644
--- a/gcc/resource.h
+++ b/gcc/resource.h
@@ -1,5 +1,6 @@
/* Definitions for computing resource usage of specific insns.
- Copyright (C) 1999, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2003, 2004, 2006, 2007, 2009
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -48,10 +49,10 @@ enum mark_resource_type
extern void mark_target_live_regs (rtx, rtx, struct resources *);
extern void mark_set_resources (rtx, struct resources *, int,
enum mark_resource_type);
-extern void mark_referenced_resources (rtx, struct resources *, int);
+extern void mark_referenced_resources (rtx, struct resources *, bool);
extern void clear_hashed_info_for_insn (rtx);
extern void incr_ticks_for_insn (rtx);
-extern void mark_end_of_function_resources (rtx, int);
+extern void mark_end_of_function_resources (rtx, bool);
extern void init_resource_info (rtx);
extern void free_resource_info (void);