projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for SymConst(ofs_ent)
[libfirm]
/
ir
/
be
/
beraextern.c
diff --git
a/ir/be/beraextern.c
b/ir/be/beraextern.c
index
5e206d9
..
fa44fb3
100644
(file)
--- a/
ir/be/beraextern.c
+++ b/
ir/be/beraextern.c
@@
-403,7
+403,7
@@
static void dump_affinities_walker(ir_node *irn, void *env) {
vi1 = be_get_var_info(irn);
/* copies have affinities */
vi1 = be_get_var_info(irn);
/* copies have affinities */
- if (arch_irn_class
ify(raenv->aenv, irn) == arch_irn_class_copy
) {
+ if (arch_irn_class
_is(raenv->aenv, irn, copy)
) {
ir_node *other = be_get_Copy_op(irn);
if (! arch_irn_is(raenv->aenv, other, ignore)) {
ir_node *other = be_get_Copy_op(irn);
if (! arch_irn_is(raenv->aenv, other, ignore)) {
@@
-528,7
+528,7
@@
static INLINE void var_add_spills_and_reloads(be_raext_env_t *raenv, int var_nr)
/* all ordinary nodes must be spilled */
DBG((raenv->dbg, LEVEL_2, " spilling %+F\n", irn));
/* all ordinary nodes must be spilled */
DBG((raenv->dbg, LEVEL_2, " spilling %+F\n", irn));
- spill = be_spill(raenv->aenv, irn
, ctx
);
+ spill = be_spill(raenv->aenv, irn);
/* remember the spill */
pset_insert_ptr(spills, spill);
/* remember the spill */
pset_insert_ptr(spills, spill);
@@
-787,12
+787,12
@@
static be_ra_timer_t *be_ra_extern_main(const be_irg_t *bi) {
static const lc_opt_enum_func_ptr_items_t ssa_destr_items[] = {
static const lc_opt_enum_func_ptr_items_t ssa_destr_items[] = {
- { "simple", (int (*)()) be_ssa_destr_simple }, /* TODO make (void*) casts nicer */
+ { "simple", (int (*)(
void
)) be_ssa_destr_simple }, /* TODO make (void*) casts nicer */
{ NULL, NULL }
};
static lc_opt_enum_func_ptr_var_t ssa_destr_var = {
{ NULL, NULL }
};
static lc_opt_enum_func_ptr_var_t ssa_destr_var = {
- (int (**)()) &ssa_destr, ssa_destr_items
+ (int (**)(
void
)) &ssa_destr, ssa_destr_items
};
static const lc_opt_table_entry_t be_ra_extern_options[] = {
};
static const lc_opt_table_entry_t be_ra_extern_options[] = {