summaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-06-27 03:21:13 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2007-06-27 01:21:13 +0000
commit95e88efd101c43bb55c8584fa2bf2ccbff718401 (patch)
treed59653c3a0aa3705788cc27ac0fac2f506d86c38 /gcc/recog.h
parenta652517c6f573d8069375cc4793e85eb250ba3b2 (diff)
downloadgcc-95e88efd101c43bb55c8584fa2bf2ccbff718401.tar.gz
fwprop.c (try_fwprop_subst): Use validate_unshare_change.
* fwprop.c (try_fwprop_subst): Use validate_unshare_change. * postreload.c (reload_cse_simplify_set): Instead of copying the rtx early use validate_unshare_change. (reload_combine): Likewise. * recog.c (change_t): New field unshare. (validate_change_1): Rename from validate_change; add argument unshare. (validate_change): Turn into wrapper of validate_change_1; update prototype for bools. (validate_unshare_change): New. (confirm_change_group): Unshare changes if asked for; avoid unnecesary calls of df_insn_rescan. * recog.h (validate_change): Replace ints by bools. (validate_unshare_change): Declare. From-SVN: r126050
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index cf52cd3f0f0..f1b993a9313 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -73,7 +73,8 @@ extern void init_recog (void);
extern void init_recog_no_volatile (void);
extern int check_asm_operands (rtx);
extern int asm_operand_ok (rtx, const char *);
-extern int validate_change (rtx, rtx *, rtx, int);
+extern bool validate_change (rtx, rtx *, rtx, bool);
+extern bool validate_unshare_change (rtx, rtx *, rtx, bool);
extern bool canonicalize_change_group (rtx insn, rtx x);
extern int insn_invalid_p (rtx);
extern int verify_changes (int);