diff options
author | Paul Brook <paul@codesourcery.com> | 2005-08-27 02:08:29 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2005-08-27 02:08:29 +0000 |
commit | 0cd6c85a310f2e2a597a0ee4ef03173806d766f5 (patch) | |
tree | 3a2df6c503cb4c254dadef63be62a4db37318490 /gcc/recog.h | |
parent | e0af6cb7203510afbdabbe4aee515d616e8a0bda (diff) | |
download | gcc-0cd6c85a310f2e2a597a0ee4ef03173806d766f5.zip gcc-0cd6c85a310f2e2a597a0ee4ef03173806d766f5.tar.gz gcc-0cd6c85a310f2e2a597a0ee4ef03173806d766f5.tar.bz2 |
genrecog.c (enum decision_type): Add DT_num_insns.
2005-08-27 Paul Brook <paul@codesourcery.com>
* genrecog.c (enum decision_type): Add DT_num_insns.
(struct decision_test): Add u.num_insns.
(add_to_sequence): Add DT_num_insns test.
(maybe_both_true_2, nodes_identical_1): Handle DT_num_insns.
(write_cond, debug_decision_2): Ditto.
(change_state): Assume peep2_next_insn never fails.
Remove "afterward" argument.
(write afterward, write_tree): Update to match.
* recog.c (peep2_current_count): New variable.
(peep2_next_insn): Check it.
(peephole2_optimize): Set peep2_current_count.
* recog.h (peep2_current_count): Declare.
From-SVN: r103553
Diffstat (limited to 'gcc/recog.h')
-rw-r--r-- | gcc/recog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/recog.h b/gcc/recog.h index d923aa3..0ed7c9e 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -265,3 +265,4 @@ struct insn_data }; extern const struct insn_data insn_data[]; +extern int peep2_current_count; |