combine.c: Include obstack.h.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 5 Apr 2011 17:24:06 +0000 (17:24 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 5 Apr 2011 17:24:06 +0000 (17:24 +0000)
commitb405b27425b6d7a8e20cdf17f79ead9445592e82
treeb32d362826a8a36a09cfbfc1c9b1ecdbfe868db1
parent6409abe3abd76eb49daa2aaa039eaca605c68779
combine.c: Include obstack.h.

* combine.c: Include obstack.h.
(struct insn_link): Define.
(uid_log_links): Adjust type.
(FOR_EACH_LOG_LINK): New macro.
(insn_link_obstack): Declare.
(alloc_insn_link): Define.
(create_log_links): Call it.  Use FOR_EACH_LOG_LINK and adjust
type of link variables.
(find_single_use, insn_a_feeds_b, combine_instructions): Likewise.
(try_combine, record_promoted_values, distribute_notes): Likewise.
(distribute_links): Likewise.  Tweak prototype.
(clear_log_links): Delete.
(adjust_for_new_dest): Call alloc_insn_link.
* Makefile.in (combine.o): Depend on $(OBSTACK_H).

From-SVN: r171993
gcc/ChangeLog
gcc/Makefile.in
gcc/combine.c