projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dumping the -am graph. It is exactly the same as the -opt graph.
[libfirm]
/
ir
/
be
/
bemodule.c
diff --git
a/ir/be/bemodule.c
b/ir/be/bemodule.c
index
9e47aa1
..
ec8c574
100644
(file)
--- a/
ir/be/bemodule.c
+++ b/
ir/be/bemodule.c
@@
-24,9
+24,7
@@
* @date 29.09.2005
* @version $Id$
*/
* @date 29.09.2005
* @version $Id$
*/
-#include <config.h>
-
-#include "firm_config.h"
+#include "config.h"
#include <stdlib.h>
#include <stdlib.h>
@@
-43,7
+41,6
@@
void be_init_chordal(void);
void be_init_chordal_main(void);
void be_init_copycoal(void);
void be_init_copyheur2(void);
void be_init_chordal_main(void);
void be_init_copycoal(void);
void be_init_copyheur2(void);
-void be_init_copyheur3(void);
void be_init_copyheur4(void);
void be_init_copyheur5(void);
void be_init_copystat(void);
void be_init_copyheur4(void);
void be_init_copyheur5(void);
void be_init_copystat(void);
@@
-57,7
+54,6
@@
void be_init_arch_sta(void);
void be_init_arch_TEMPLATE(void);
void be_init_ilpsched(void);
void be_init_copyilp(void);
void be_init_arch_TEMPLATE(void);
void be_init_ilpsched(void);
void be_init_copyilp(void);
-void be_init_javacoal(void);
void be_init_peephole(void);
void be_init_ra(void);
void be_init_spillbelady(void);
void be_init_peephole(void);
void be_init_ra(void);
void be_init_spillbelady(void);
@@
-112,7
+108,7
@@
void be_init_modules(void)
be_init_spillbelady();
be_init_spillbelady2();
be_init_spillbelady3();
be_init_spillbelady();
be_init_spillbelady2();
be_init_spillbelady3();
-
//
be_init_spilllinearscan();
+
//
be_init_spilllinearscan();
be_init_daemelspill();
be_init_ssaconstr();
be_init_state();
be_init_daemelspill();
be_init_ssaconstr();
be_init_state();
@@
-130,11
+126,6
@@
void be_init_modules(void)
be_init_copyilp();
#endif /* WITH_ILP */
be_init_copyilp();
#endif /* WITH_ILP */
-#ifdef WITH_JVM
- be_init_copyheur3();
- be_init_javacoal();
-#endif /* WITH_JVM */
-
#if PLUGIN_IR_BE_STA
be_init_arch_sta();
#endif /* PLUGIN_IR_BE_STA */
#if PLUGIN_IR_BE_STA
be_init_arch_sta();
#endif /* PLUGIN_IR_BE_STA */
@@
-250,9
+241,7
@@
int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
void *module)
{
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
void *module)
{
- be_module_list_entry_t *entry;
-
- entry = xmalloc(sizeof(entry[0]));
+ be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t);
entry->name = name;
entry->data = module;
entry->next = *list_head;
entry->name = name;
entry->data = module;
entry->next = *list_head;
@@
-267,9
+256,7
@@
void be_add_module_list_opt(lc_opt_entry_t *grp, const char *name,
be_module_list_entry_t * const * list_head,
void **var)
{
be_module_list_entry_t * const * list_head,
void **var)
{
- module_opt_data_t *moddata;
-
- moddata = xmalloc(sizeof(moddata[0]));
+ module_opt_data_t *moddata = XMALLOC(module_opt_data_t);
moddata->var = var;
moddata->list_head = list_head;
moddata->var = var;
moddata->list_head = list_head;