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
00e91c32
Commit
00e91c32
authored
Feb 22, 2015
by
yb9976
Browse files
Only remove current node from wait queue.
parent
ee17bfcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgopt.c
View file @
00e91c32
...
...
@@ -127,10 +127,10 @@ void local_optimize_graph(ir_graph *irg)
*/
static
void
opt_walker
(
ir_node
*
n
,
void
*
env
)
{
pdeq
*
waitq
=
(
pdeq
*
)
env
;
ir_node
*
optimized
=
optimize_in_place_2
(
n
);
set_irn_link
(
optimized
,
NULL
);
pdeq
*
waitq
=
(
pdeq
*
)
env
;
set_irn_link
(
n
,
NULL
);
ir_node
*
optimized
=
optimize_in_place_2
(
n
);
if
(
optimized
!=
n
)
{
enqueue_users
(
n
,
waitq
);
exchange
(
n
,
optimized
);
...
...
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