Commit 816da49e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ir, be: The backend does not need to be initialized early anymore, so do it later.

Now we can use things, which get initialized for the middle end, e.g. modes.
parent 77aece39
......@@ -51,9 +51,6 @@ lc_opt_entry_t *firm_opt_get_root(void)
void ir_init(void)
{
/* for historical reasons be_init must be run first */
firm_be_init();
firm_init_flags();
init_ident();
init_edges();
......@@ -78,6 +75,7 @@ void ir_init(void)
init_execfreq();
init_stat();
firm_be_init();
#ifdef DEBUG_libfirm
firm_init_debugger();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment