projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas on cygwin doesn't like section type (althought that's not what the docu says...
[libfirm]
/
ir
/
common
/
firm.c
diff --git
a/ir/common/firm.c
b/ir/common/firm.c
index
3d6c417
..
9756939
100644
(file)
--- a/
ir/common/firm.c
+++ b/
ir/common/firm.c
@@
-37,7
+37,6
@@
#include "ident_t.h"
#include "firm.h"
#include "irflag_t.h"
#include "ident_t.h"
#include "firm.h"
#include "irflag_t.h"
-/* init functions are not public */
#include "tv_t.h"
#include "tpop_t.h"
#include "irprog_t.h"
#include "tv_t.h"
#include "tpop_t.h"
#include "irprog_t.h"
@@
-55,6
+54,7
@@
#include "opt_init.h"
#include "debugger.h"
#include "be_t.h"
#include "opt_init.h"
#include "debugger.h"
#include "be_t.h"
+#include "irtools.h"
/* returns the firm root */
lc_opt_entry_t *firm_opt_get_root(void)
/* returns the firm root */
lc_opt_entry_t *firm_opt_get_root(void)
@@
-124,7
+124,7
@@
void ir_init(const firm_parameter_t *param)
later. */
init_irprog_2();
/* Initialize the type module and construct some idents needed. */
later. */
init_irprog_2();
/* Initialize the type module and construct some idents needed. */
- firm_init_type(def_params.
builtin_dbg, def_params.
cc_mask);
+ firm_init_type(def_params.cc_mask);
/* initialize the entity module */
firm_init_entity();
/* class cast optimization */
/* initialize the entity module */
firm_init_entity();
/* class cast optimization */
@@
-137,6
+137,8
@@
void ir_init(const firm_parameter_t *param)
arch_dep_init(arch_dep_default_factory);
arch_dep_set_opts(0);
arch_dep_init(arch_dep_default_factory);
arch_dep_set_opts(0);
+ init_irnode();
+
#ifdef DEBUG_libfirm
/* integrated debugger extension */
firm_init_debugger();
#ifdef DEBUG_libfirm
/* integrated debugger extension */
firm_init_debugger();