aboutsummaryrefslogtreecommitdiff
path: root/gcc/mode-switching.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-01 17:49:37 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-01 15:49:37 +0000
commit5936d944f8fffbb02f9c694645d37f60603a8a25 (patch)
tree1b6ee9a54e64f4b81990716e8025ba5a494502fc /gcc/mode-switching.c
parent91382288079e2b47f7a18252051036e4f76c6ada (diff)
downloadgcc-5936d944f8fffbb02f9c694645d37f60603a8a25.zip
gcc-5936d944f8fffbb02f9c694645d37f60603a8a25.tar.gz
gcc-5936d944f8fffbb02f9c694645d37f60603a8a25.tar.bz2
fwprop.c: Make emit-rtl.h include last.
* fwprop.c: Make emit-rtl.h include last. * rtlanal.c: Include emit-rtl.h. * genautomata.c: Output emit-rtl include into insn-automata.c * df-scan.c: Include emit-rtl.h. * haifa-sched.c: Indlude emit-rtl.h. * mode-switching.c: Indlude emit-rtl.h. * graph.c: Indlude emit-rtl.h. * sel-sched.c: Include emit-rtl.h. * sel-sched-ir.c: Include emit-rtl.h. * ira-build.c: Include emit-rtl.h. * emit-rtl.c: (first_insn, last_insn): Remove defines. (get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid): Move to emit-rtl.h. (set_new_first_and_last_insn, get_last_insn_anywhere, get_first_nonnote_insn, get_last_nonnote_insn, try_split, make_call_insn_raw, add_insn_after, add_insn_before, remove_insn, delete_insns_since, reorder_insns_nobb, emit_insn_after_1, emit_debug_insn_before, emit_insn, start_sequence, push_to_sequence, push_to_sequence2, push_topmost_sequence, end_sequence, copy_insn): Use accessor functions. * emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, mem_expr_equal_p): Move here from rtl.h (get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid): Move here from emit-rtl.c; make inline. * cfglayout.h: Include emit-rtl.h * rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, mem_expr_equal_p, get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid): Move to emit-rtl.h. * reg-stack.c: Include emit-rtl.h * dce.c: Likewise. From-SVN: r160111
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r--gcc/mode-switching.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index fa119d0..c0db7c4 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "timevar.h"
#include "df.h"
+#include "emit-rtl.h"
/* We want target macros for the mode switching code to be able to refer
to instruction attribute values. */