projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8eb9312
)
BugFix: store the weigths to the right location
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 4 Apr 2008 18:49:18 +0000
(18:49 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 4 Apr 2008 18:49:18 +0000
(18:49 +0000)
[r19135]
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
ed76d7d
..
d7ed5e8
100644
(file)
--- a/
ir/opt/opt_inline.c
+++ b/
ir/opt/opt_inline.c
@@
-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_weights
[proj_nr] = calc_method_local_weight(arg);
}
}