Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
8151258b
Commit
8151258b
authored
May 12, 2011
by
Matthias Braun
Browse files
irg_walk_anchors uses visited field, reserve it
parent
8b84fb11
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgwalk.c
View file @
8151258b
...
...
@@ -422,8 +422,10 @@ void irg_walk_anchors(ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, vo
ir_graph
*
rem
=
current_ir_graph
;
current_ir_graph
=
irg
;
ir_reserve_resources
(
irg
,
IR_RESOURCE_IRN_VISITED
);
inc_irg_visited
(
irg
);
irg_walk_2
(
irg
->
anchor
,
pre
,
post
,
env
);
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_VISITED
);
current_ir_graph
=
rem
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment