projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
816a381
)
split init_ir_prog() so part 1 can be called before mode initialization
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 3 Aug 2005 12:55:46 +0000
(12:55 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 3 Aug 2005 12:55:46 +0000
(12:55 +0000)
[r6379]
ir/common/firm.c
patch
|
blob
|
history
diff --git
a/ir/common/firm.c
b/ir/common/firm.c
index
feffffe
..
0ac2401
100644
(file)
--- a/
ir/common/firm.c
+++ b/
ir/common/firm.c
@@
-72,6
+72,8
@@
init_firm(const firm_parameter_t *param)
init_tpop();
/* create an obstack and put all tarvals in a pdeq */
init_tarval_1();
init_tpop();
/* create an obstack and put all tarvals in a pdeq */
init_tarval_1();
+ /* Builds a basic program representation, so modes can be added. */
+ init_irprog_1();
/* initialize all modes an ir node can consist of */
init_mode();
/* initialize tarvals, and floating point arithmetic */
/* initialize all modes an ir node can consist of */
init_mode();
/* initialize tarvals, and floating point arithmetic */
@@
-88,7
+90,7
@@
init_firm(const firm_parameter_t *param)
firm_init_reassociation();
/* Builds a construct allowing to access all information to be constructed
later. */
firm_init_reassociation();
/* Builds a construct allowing to access all information to be constructed
later. */
- init_irprog();
+ init_irprog
_2
();
/* Constructs some idents needed. */
init_type();
init_entity();
/* Constructs some idents needed. */
init_type();
init_entity();