* haifa-sched.c (schedule_insns): Remove outdated comment.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2011 11:55:59 +0000 (11:55 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2011 11:55:59 +0000 (11:55 +0000)
commit2261c55964be6d7245620abda4aacddb3fe2cd6f
treeecad391f99e5f9afa268f24a4b9d7124c34b54ce
parent96d4b8c52bca4e432fd48c682334f1c84ca1438e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176271 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c