summaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 22:02:32 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 22:02:32 +0000
commit82880dfd5cfbedf5fd319d079e242d61b95fc57f (patch)
tree2e930d7443fe4dbacbd3f498df67cff02962fe05 /gcc/recog.h
parentf664da299a9f3b7eed0b9c9659419126aa836b97 (diff)
downloadgcc-82880dfd5cfbedf5fd319d079e242d61b95fc57f.tar.gz
* recog.c (verify_changes, confirm_change_group): New functions,
broken out of apply_change_group. (apply_change_group): Use them. * recog.h (verify_change, confirm_change_group): Declare. * rtl.h (redirect_jump_2): Declare. * jump.c (redirect_exp, invert_exp): Delete. (invert_exp_1): Take second parameter. Return value. Changed caller. (redirect_jump_2): New function, broken out of redirect_jump. (redirect_jump): Use redirect_jump_1 and redirect_jump_2. (invert_jump): Use invert_jump_1 and redirect_jump_2. * ifcvt.c (dead_or_predicable): Use redirect_jump_2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index 0c340cc35a0..d4ded6cccc0 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -75,6 +75,8 @@ extern int check_asm_operands (rtx);
extern int asm_operand_ok (rtx, const char *);
extern int validate_change (rtx, rtx *, rtx, int);
extern int insn_invalid_p (rtx);
+extern int verify_changes (int);
+extern void confirm_change_group (void);
extern int apply_change_group (void);
extern int num_validated_changes (void);
extern void cancel_changes (int);