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
9260589a
Commit
9260589a
authored
May 17, 2016
by
Raphael von der Grün
Committed by
yb9976
Jun 14, 2016
Browse files
Remove duplicated code block
parent
0ac74914
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/ana/analyze_irg_args.c
View file @
9260589a
...
@@ -378,13 +378,7 @@ static void analyze_method_params_weight(ir_entity *ent)
...
@@ -378,13 +378,7 @@ static void analyze_method_params_weight(ir_entity *ent)
unsigned
get_method_param_weight
(
ir_entity
*
ent
,
size_t
pos
)
unsigned
get_method_param_weight
(
ir_entity
*
ent
,
size_t
pos
)
{
{
if
(
ent
->
attr
.
mtd_attr
.
param_weight
)
{
if
(
!
ent
->
attr
.
mtd_attr
.
param_weight
)
if
(
pos
<
ARR_LEN
(
ent
->
attr
.
mtd_attr
.
param_weight
))
return
ent
->
attr
.
mtd_attr
.
param_weight
[
pos
];
else
return
null_weight
;
}
analyze_method_params_weight
(
ent
);
analyze_method_params_weight
(
ent
);
if
(
pos
<
ARR_LEN
(
ent
->
attr
.
mtd_attr
.
param_weight
))
if
(
pos
<
ARR_LEN
(
ent
->
attr
.
mtd_attr
.
param_weight
))
...
...
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