Makefile.in (insn-emit.o): Add basic-block.h dependency.

* Makefile.in (insn-emit.o): Add basic-block.h dependency.
	* genemit.c (main): Make insn-emit to include basic-block.h too.

From-SVN: r100028
This commit is contained in:
Jan Hubicka 2005-05-20 23:17:48 +02:00 committed by Jan Hubicka
parent 0d25c320b9
commit c15fed7643
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-20 Jan Hubicka <jh@suse.cz>
* Makefile.in (insn-emit.o): Add basic-block.h dependency.
* genemit.c (main): Make insn-emit to include basic-block.h too.
2005-05-20 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (cgraph_expand_function): Force function being lowered.

View File

@ -2452,7 +2452,8 @@ s-constants : $(MD_DEPS) build/genconstants$(build_exeext)
insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(RTL_H) $(EXPR_H) real.h output.h insn-config.h $(OPTABS_H) reload.h \
$(RECOG_H) toplev.h function.h $(FLAGS_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H)
$(RECOG_H) toplev.h function.h $(FLAGS_H) hard-reg-set.h $(RESOURCE_H) \
$(TM_P_H) $(BASIC_BLOCK_H)
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-emit.c \
$(OUTPUT_OPTION)

View File

@ -845,6 +845,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"reload.h\"\n");
printf ("#include \"toplev.h\"\n");
printf ("#include \"ggc.h\"\n\n");
printf ("#include \"basic-block.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n");