toplev.c (backend_init_target): Move init_emit_regs and init_regs to...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 26 Jun 2014 02:28:37 +0000 (04:28 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 26 Jun 2014 02:28:37 +0000 (02:28 +0000)
commitb9b5f43367ced552bdd92808fa3a38cb55cb2fd3
tree3eaf13ad99f89c77885a9dbdccb807978ff0d594
parent3b89b26ef67f19fc775a2f923dfb4f6200d981f5
toplev.c (backend_init_target): Move init_emit_regs and init_regs to...

* toplev.c (backend_init_target): Move init_emit_regs and init_regs to...
(backend_init) ... here; skip ira_init_once and backend_init_target.
(target_reinit) ... and here; clear this_target_rtl->lang_dependent_initialized.
(lang_dependent_init_target): Clear this_target_rtl->lang_dependent_initialized;
break out rtl initialization to ...
(initialize_rtl): ... here; call also backend_init_target and ira_init_once.
* toplev.h (initialize_rtl): New function.
* function.c: Include toplev.h
(init_function_start): Call initialize_rtl.
* rtl.h (target_rtl): Add target_specific_initialized,
lang_dependent_initialized.

From-SVN: r212007
gcc/ChangeLog
gcc/function.c
gcc/rtl.h
gcc/toplev.c
gcc/toplev.h