haifa-sched.c (schedule_insns): Remove outdated comment.
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 14 Jul 2011 11:55:59 +0000 (11:55 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 14 Jul 2011 11:55:59 +0000 (11:55 +0000)
commitb953c2b834c1f92f20729a51b4cd4d15b2426d7a
treeecad391f99e5f9afa268f24a4b9d7124c34b54ce
parent1f098f077cf9ed048238e0a8d609034bb48f5e4c
haifa-sched.c (schedule_insns): Remove outdated comment.

* haifa-sched.c (schedule_insns): Remove outdated comment.
(schedule_block): When computing a known value for TODO_SPEC,
just set it rather than using logical operations.
(try_ready): Likewise.  Use a local variable rather than a
pointer to TODO_SPEC.  Reorder an if statement to move the
easy case to the then block.
* sched-deps.c (dep_spec_p): New static function.
(update_dep): Use it to decide whether to call
change_spec_dep_to_hard.
(get_back_and_forw_lists): Use it.
(sd_resolve_dep): Likewise.
(init_dep): If !USE_DEPS_LIST, use zero to initialize status.
(haifa_note_mem_dep): Likewise.
(check_dep): Likewise.
(sd_add_dep): Also clear SPECULATIVE bits if not DO_SPECULATION.
(sched_free_deps): Free in two passes.

From-SVN: r176271
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c