summaryrefslogtreecommitdiff
path: root/gcc/resource.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 18:55:20 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 18:55:20 +0000
commit10a15ee44f32a1c152ebb42bcd51f7a9df09fe1a (patch)
tree83e14595650e69007e9dbeb944d1dff4b5977881 /gcc/resource.h
parentc7e5ac45ecaa5390c683161852b23d74a14673b0 (diff)
downloadgcc-10a15ee44f32a1c152ebb42bcd51f7a9df09fe1a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148547 138bc75d-0d04-0410-961f-82ee72b054a4
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);