projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Changed keep logic: all nodes can be keeped yet, thi is necessary to fix fehler152
[libfirm]
/
ir
/
ir
/
irdump.c
diff --git
a/ir/ir/irdump.c
b/ir/ir/irdump.c
index
c96bdb8
..
6fd63ce
100644
(file)
--- a/
ir/ir/irdump.c
+++ b/
ir/ir/irdump.c
@@
-642,13
+642,13
@@
static ir_node **construct_block_lists(ir_graph *irg) {
#ifdef INTERPROCEDURAL_VIEW
int rem_view = get_interprocedural_view();
#endif
#ifdef INTERPROCEDURAL_VIEW
int rem_view = get_interprocedural_view();
#endif
- int walk_flag =
using_irn_visited(irg)
;
+ int walk_flag =
ir_resources_reserved(irg) & IR_RESOURCE_IRN_VISITED
;
ir_graph *rem = current_ir_graph;
current_ir_graph = irg;
if(walk_flag)
ir_graph *rem = current_ir_graph;
current_ir_graph = irg;
if(walk_flag)
-
clear_using_irn_visited(current_ir_graph
);
+
ir_free_resources(irg, IR_RESOURCE_IRN_VISITED
);
for (i = get_irp_n_irgs() - 1; i >= 0; --i)
ird_set_irg_link(get_irp_irg(i), NULL);
for (i = get_irp_n_irgs() - 1; i >= 0; --i)
ird_set_irg_link(get_irp_irg(i), NULL);
@@
-670,7
+670,7
@@
static ir_node **construct_block_lists(ir_graph *irg) {
#endif
if(walk_flag)
#endif
if(walk_flag)
-
set_using_irn_visited(current_ir_graph
);
+
ir_reserve_resources(irg, IR_RESOURCE_IRN_VISITED
);
current_ir_graph = rem;
return ird_get_irg_link(irg);
current_ir_graph = rem;
return ird_get_irg_link(irg);