projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup backend: make pre_spill_prepare_constraint independent of chordal allocator...
[libfirm]
/
ir
/
be
/
bemodule.c
diff --git
a/ir/be/bemodule.c
b/ir/be/bemodule.c
index
619e863
..
9f08c00
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$
*/
-#ifndef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include <stdlib.h>
#include <stdlib.h>
@@
-64,6
+62,7
@@
void be_init_spillbelady3(void);
//void be_init_spilllinearscan(void);
void be_init_ssaconstr(void);
void be_init_stabs(void);
//void be_init_spilllinearscan(void);
void be_init_ssaconstr(void);
void be_init_stabs(void);
+void be_init_straight_alloc(void);
void be_init_ifg(void);
void be_init_irgmod(void);
void be_init_loopana(void);
void be_init_ifg(void);
void be_init_irgmod(void);
void be_init_loopana(void);
@@
-113,6
+112,7
@@
void be_init_modules(void)
// be_init_spilllinearscan();
be_init_daemelspill();
be_init_ssaconstr();
// be_init_spilllinearscan();
be_init_daemelspill();
be_init_ssaconstr();
+ be_init_straight_alloc();
be_init_state();
be_init_ifg();
be_init_stabs();
be_init_state();
be_init_ifg();
be_init_stabs();
@@
-148,7
+148,7
@@
void be_quit_modules(void)
//---------------------------------------------------------------------------
typedef struct module_opt_data_t {
//---------------------------------------------------------------------------
typedef struct module_opt_data_t {
-
const
void **var;
+ void **var;
be_module_list_entry_t * const *list_head;
} module_opt_data_t;
be_module_list_entry_t * const *list_head;
} module_opt_data_t;
@@
-241,7
+241,7
@@
int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
* Add a new module to list.
*/
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
* Add a new module to list.
*/
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
-
const
void *module)
+ void *module)
{
be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t);
entry->name = name;
{
be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t);
entry->name = name;