projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new register requirements
[libfirm]
/
ir
/
be
/
firm
/
bearch_firm.c
diff --git
a/ir/be/firm/bearch_firm.c
b/ir/be/firm/bearch_firm.c
index
a9bde2c
..
606e243
100644
(file)
--- a/
ir/be/firm/bearch_firm.c
+++ b/
ir/be/firm/bearch_firm.c
@@
-1,13
+1,8
@@
-
/**
* ISA implementation for Firm IR nodes.
*/
#ifdef HAVE_CONFIG_H
/**
* ISA implementation for Firm IR nodes.
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef WITH_LIBCORE
-#include <libcore/lc_opts.h>
+#include <config.h>
#endif
#include "bitset.h"
#endif
#include "bitset.h"
@@
-254,8
+249,8
@@
static void firm_get_call_abi(const void *self, ir_type *method_type, be_abi_cal
static const arch_register_req_t firm_std_reg_req = {
arch_register_req_type_normal,
®_classes[CLS_DATAB],
static const arch_register_req_t firm_std_reg_req = {
arch_register_req_type_normal,
®_classes[CLS_DATAB],
-
NULL
,
- NULL
+
0
,
+ 0
};
static const arch_register_req_t *
};
static const arch_register_req_t *
@@
-362,7
+357,7
@@
static ir_entity *firm_get_frame_entity(const void *self, const ir_node *irn)
return NULL;
}
return NULL;
}
-static void firm_set_frame_entity(const void *self,
const
ir_node *irn, ir_entity *ent)
+static void firm_set_frame_entity(const void *self, ir_node *irn, ir_entity *ent)
{
}
{
}
@@
-572,7
+567,7
@@
static void firm_codegen_done(void *self)
free(self);
}
free(self);
}
-static void *firm_cg_init(
const
be_irg_t *birg);
+static void *firm_cg_init(be_irg_t *birg);
static const arch_code_generator_if_t firm_code_gen_if = {
firm_cg_init,
static const arch_code_generator_if_t firm_code_gen_if = {
firm_cg_init,
@@
-585,7
+580,7
@@
static const arch_code_generator_if_t firm_code_gen_if = {
firm_codegen_done
};
firm_codegen_done
};
-static void *firm_cg_init(
const
be_irg_t *birg)
+static void *firm_cg_init(be_irg_t *birg)
{
firm_code_gen_t *cg = xmalloc(sizeof(*cg));
cg->impl = &firm_code_gen_if;
{
firm_code_gen_t *cg = xmalloc(sizeof(*cg));
cg->impl = &firm_code_gen_if;
@@
-630,7
+625,7
@@
static const be_machine_t *firm_get_machine(const void *self) {
/**
* Return irp irgs in the desired order.
*/
/**
* Return irp irgs in the desired order.
*/
-static ir_graph **firm_get_irg_list(const void *self, ir_graph **irg_list) {
+static ir_graph **firm_get_irg_list(const void *self, ir_graph **
*
irg_list) {
return NULL;
}
return NULL;
}