projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e540d91
)
disable the initial-proj removal from beabi (transform phases do it themselfes now)
author
Matthias Braun
<matze@braunis.de>
Thu, 23 Aug 2007 13:53:58 +0000
(13:53 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 23 Aug 2007 13:53:58 +0000
(13:53 +0000)
[r15590]
ir/be/beabi.c
patch
|
blob
|
history
diff --git
a/ir/be/beabi.c
b/ir/be/beabi.c
index
16a9c6b
..
ffce8cf
100644
(file)
--- a/
ir/be/beabi.c
+++ b/
ir/be/beabi.c
@@
-1691,6
+1691,7
@@
static void fix_address_of_parameter_access(be_abi_irg_t *env, ir_entity *value_
}
}
}
}
+#if 0
/**
* The start block has no jump, instead it has an initial exec Proj.
* The backend wants to handle all blocks the same way, so we replace
/**
* The start block has no jump, instead it has an initial exec Proj.
* The backend wants to handle all blocks the same way, so we replace
@@
-1721,6
+1722,7
@@
static void fix_start_block(ir_node *block, void *env) {
}
}
}
}
}
}
+#endif
/**
* Modify the irg itself and the frame type.
/**
* Modify the irg itself and the frame type.
@@
-1740,7
+1742,7
@@
static void modify_irg(be_abi_irg_t *env)
pset *dont_save = pset_new_ptr(8);
int n_params;
pset *dont_save = pset_new_ptr(8);
int n_params;
- int i, j, n
, temp
;
+ int i, j, n;
reg_node_map_t *rm;
const arch_register_t *fp_reg;
reg_node_map_t *rm;
const arch_register_t *fp_reg;
@@
-1985,9
+1987,12
@@
static void modify_irg(be_abi_irg_t *env)
del_pset(dont_save);
obstack_free(&env->obst, args);
del_pset(dont_save);
obstack_free(&env->obst, args);
+ /* this was needed for STA backend... */
+#if 0
/* handle start block here (place a jump in the block) */
/* handle start block here (place a jump in the block) */
- temp = 0;
- irg_block_walk_graph(irg, fix_start_block, NULL, &temp);
+ i = 0;
+ irg_block_walk_graph(irg, fix_start_block, NULL, &i);
+#endif
}
/** Fix the state inputs of calls that still hang on unknowns */
}
/** Fix the state inputs of calls that still hang on unknowns */