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
043afb3f
Commit
043afb3f
authored
Apr 04, 2008
by
Michael Beck
Browse files
BugFix: store the weigths to the right location
[r19135]
parent
8eb9312b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/opt_inline.c
View file @
043afb3f
...
...
@@ -1693,7 +1693,7 @@ static void analyze_irg_local_weights(inline_irg_env *env, ir_graph *irg) {
for
(
i
=
get_irn_n_outs
(
irg_args
)
-
1
;
i
>=
0
;
--
i
)
{
arg
=
get_irn_out
(
irg_args
,
i
);
proj_nr
=
get_Proj_proj
(
arg
);
en
t
->
attr
.
mtd_attr
.
param
_weight
[
proj_nr
]
=
calc_method_local_weight
(
arg
);
en
v
->
local
_weight
s
[
proj_nr
]
=
calc_method_local_weight
(
arg
);
}
}
...
...
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