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
01090080
Commit
01090080
authored
Feb 21, 2016
by
Christoph Mallon
Browse files
cleanup: s/< 1/== 0/ for clarity.
parent
227cd4d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillutil.c
View file @
01090080
...
...
@@ -1175,7 +1175,7 @@ void be_spill_prepare_for_constraints(ir_graph *irg)
/* Could be that not all CopyKeeps are really needed, */
/* so we transform unnecessary ones into Keeps. */
foreach_ir_nodeset
(
&
entry
->
copies
,
cp
,
iter
)
{
if
(
be_is_CopyKeep
(
cp
)
&&
get_irn_n_edges
(
cp
)
<
1
)
{
if
(
be_is_CopyKeep
(
cp
)
&&
get_irn_n_edges
(
cp
)
==
0
)
{
int
arity
=
get_irn_arity
(
cp
);
ir_node
*
block
=
get_nodes_block
(
cp
);
ir_node
*
keep
=
be_new_Keep
(
block
,
arity
,
get_irn_in
(
cp
));
...
...
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