summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-06 21:49:07 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-06 21:49:07 +0000
commitfd27912fe22aded3d2ce2b234822ff7108c294a7 (patch)
tree60dc0f53dee19449b88f58b49e331407b4b3a60b /gcc/sched-ebb.c
parent2521f35f9132bb59f321a72ac3096f3c4091236d (diff)
downloadgcc-fd27912fe22aded3d2ce2b234822ff7108c294a7.tar.gz
2006-10-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
* sched-int.h (IS_SPECULATION_CHECK_P, IS_SPECULATION_SIMPLE_CHECK_P): New macros. * sched-ebb.c (begin_schedule_ready): Use them. * haifa-sched.c (schedule_insn, move_insn, try_ready, add_to_speculative_block, create_check_block_twin, speculate_insn, fix_jump_move, move_block_after_check): Ditto. * sched-rgn.c (new_ready): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117516 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 599241a47c8..b2e82b59182 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -145,7 +145,7 @@ begin_schedule_ready (rtx insn, rtx last)
gcc_assert (!e || !(e->flags & EDGE_COMPLEX));
gcc_assert (BLOCK_FOR_INSN (insn) == last_bb
- && !RECOVERY_BLOCK (insn)
+ && !IS_SPECULATION_CHECK_P (insn)
&& BB_HEAD (last_bb) != insn
&& BB_END (last_bb) == insn);