projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11ab4a7
)
- call be_init_modules() last, so the option order is preserved
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 14 Oct 2008 01:30:35 +0000
(
01:30
+0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 14 Oct 2008 01:30:35 +0000
(
01:30
+0000)
[r22864]
ir/be/bemain.c
patch
|
blob
|
history
diff --git
a/ir/be/bemain.c
b/ir/be/bemain.c
index
6fb7677
..
51df6cb
100644
(file)
--- a/
ir/be/bemain.c
+++ b/
ir/be/bemain.c
@@
-317,18
+317,17
@@
void be_opt_register(void)
lc_opt_entry_t *be_grp;
static int run_once = 0;
- if (run_once)
{
+ if (run_once)
return;
- }
- run_once = 1;
-
- be_init_modules();
+ run_once = 1;
be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
lc_opt_add_table(be_grp, be_main_options);
be_add_module_list_opt(be_grp, "isa", "the instruction set architecture",
&isa_ifs, (void**) &isa_if);
+
+ be_init_modules();
}
/* Parse one argument. */