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
a14af9db
Commit
a14af9db
authored
May 06, 2011
by
Matthias Braun
Browse files
iredges: remove unnecessary skip_Proj
parent
3d4caa92
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/ir/iredges.c
View file @
a14af9db
...
...
@@ -427,11 +427,11 @@ void edges_notify_edge(ir_node *src, int pos, ir_node *tgt, ir_node *old_tgt,
}
if
(
edges_activated_kind
(
irg
,
EDGE_KIND_BLOCK
)
&&
is_Block
(
src
))
{
ir_node
*
bl_old
=
old_tgt
?
get_nodes_block
(
skip_Proj
(
old_tgt
)
)
:
NULL
;
ir_node
*
bl_old
=
old_tgt
?
get_nodes_block
(
old_tgt
)
:
NULL
;
ir_node
*
bl_tgt
=
NULL
;
if
(
tgt
)
bl_tgt
=
is_Bad
(
tgt
)
?
tgt
:
get_nodes_block
(
skip_Proj
(
tgt
)
)
;
bl_tgt
=
is_Bad
(
tgt
)
?
tgt
:
get_nodes_block
(
tgt
);
edges_notify_edge_kind
(
src
,
pos
,
bl_tgt
,
bl_old
,
EDGE_KIND_BLOCK
,
irg
);
}
...
...
Write
Preview
Supports
Markdown
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