* toplev.c (backend_init_target): Move init_emit_regs and init_regs to...
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2014 02:28:37 +0000 (02:28 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2014 02:28:37 +0000 (02:28 +0000)
commite0ff5636b1a2e15cfe75a64c7159c553632989bf
tree3eaf13ad99f89c77885a9dbdccb807978ff0d594
parentb17559f78ab65dd225a0bf5e9236d729cb9fc5ee
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212007 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/rtl.h
gcc/toplev.c
gcc/toplev.h