projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2e85e5
)
- some cosmetic changes
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 13 Nov 2008 10:42:57 +0000
(10:42 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 13 Nov 2008 10:42:57 +0000
(10:42 +0000)
[r23614]
ir/be/belive.c
patch
|
blob
|
history
diff --git
a/ir/be/belive.c
b/ir/be/belive.c
index
4061099
..
8fb274f
100644
(file)
--- a/
ir/be/belive.c
+++ b/
ir/be/belive.c
@@
-497,7
+497,7
@@
static void *lv_phase_data_init(ir_phase *phase, const ir_node *irn, void *old)
* Walker, collect all nodes for which we want calculate liveness info
* on an obstack.
*/
* Walker, collect all nodes for which we want calculate liveness info
* on an obstack.
*/
-static void collect_nodes(ir_node *irn, void *data)
+static void collect_
liveness_
nodes(ir_node *irn, void *data)
{
struct obstack *obst = data;
if (is_liveness_node(irn))
{
struct obstack *obst = data;
if (is_liveness_node(irn))
@@
-527,7
+527,7
@@
static void compute_liveness(be_lv_t *lv)
stat_ev_tim_push();
obstack_init(&obst);
stat_ev_tim_push();
obstack_init(&obst);
- irg_walk_graph(lv->irg, NULL, collect_nodes, &obst);
+ irg_walk_graph(lv->irg, NULL, collect_
liveness_
nodes, &obst);
n = obstack_object_size(&obst) / sizeof(nodes[0]);
nodes = obstack_finish(&obst);
n = obstack_object_size(&obst) / sizeof(nodes[0]);
nodes = obstack_finish(&obst);
@@
-595,7
+595,7
@@
be_lv_t *be_liveness(ir_graph *irg)
lv->irg = irg;
#ifdef USE_LIVE_CHK
lv->irg = irg;
#ifdef USE_LIVE_CHK
- lv->dfs = dfs_new(&absgraph_irg_cfg_succ,
lv->
irg);
+ lv->dfs = dfs_new(&absgraph_irg_cfg_succ, irg);
lv->lvc = lv_chk_new(lv->irg, lv->dfs);
#endif
lv->hook_info.context = lv;
lv->lvc = lv_chk_new(lv->irg, lv->dfs);
#endif
lv->hook_info.context = lv;