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
3fc1c705
Commit
3fc1c705
authored
Oct 08, 2010
by
Michael Beck
Browse files
C99 feature removed.
[r28074]
parent
8a1c0ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/lower/lower_dw.c
View file @
3fc1c705
/*
* Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
1
0 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -1326,8 +1326,8 @@ static void lower_Proj_Cmp(lower_env_t *env, ir_node *proj)
static
void
lower_Proj
(
ir_node
*
node
,
ir_mode
*
mode
,
lower_env_t
*
env
)
{
(
void
)
mode
;
ir_node
*
pred
=
get_Proj_pred
(
node
);
(
void
)
mode
;
if
(
is_Cmp
(
pred
))
{
lower_Proj_Cmp
(
env
,
node
);
}
...
...
ir/opt/loop.c
View file @
3fc1c705
...
...
@@ -1683,6 +1683,7 @@ static void create_duffs_block(void)
ir_node
*
count
,
*
correction
,
*
unroll_c
;
ir_node
*
cmp_bad_count
,
*
good_count
,
*
bad_count
,
*
count_phi
,
*
bad_count_neg
;
ir_node
*
phi
;
mode
=
get_irn_mode
(
loop_info
.
end_val
);
const_null
=
new_Const
(
get_mode_null
(
mode
));
...
...
@@ -1695,7 +1696,6 @@ static void create_duffs_block(void)
/* Create loop entry phis in first duff block
* as it becomes the loops preheader */
ir_node
*
phi
;
for_each_phi
(
loop_head
,
phi
)
{
/* Returns phis pred if phi would have arity 1*/
ir_node
*
new_phi
=
clone_phis_sans_bes
(
phi
,
loop_head
,
block1
);
...
...
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