diff options
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 38d0136..6e56e9e 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -582,7 +582,6 @@ static void add_jump_dependencies (rtx, rtx); #ifdef ENABLE_CHECKING static int has_edge_p (VEC(edge,gc) *, int); static void check_cfg (rtx, rtx); -static void check_sched_flags (void); #endif #endif /* INSN_SCHEDULING */ @@ -2692,9 +2691,6 @@ sched_init (void) else /* So we won't read anything accidentally. */ spec_info = 0; -#ifdef ENABLE_CHECKING - check_sched_flags (); -#endif } else /* So we won't read anything accidentally. */ @@ -4517,20 +4513,6 @@ check_cfg (rtx head, rtx tail) gcc_assert (bb == 0); } - -/* Perform a few consistency checks of flags in different data structures. */ -static void -check_sched_flags (void) -{ - unsigned int f = current_sched_info->flags; - - if (flag_sched_stalled_insns) - gcc_assert (!(f & DO_SPECULATION)); - if (f & DO_SPECULATION) - gcc_assert (!flag_sched_stalled_insns - && spec_info - && spec_info->mask); -} #endif /* ENABLE_CHECKING */ #endif /* INSN_SCHEDULING */ |