projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
call funtion instead of setting attributes directly
[libfirm]
/
ir
/
be
/
beirgmod.c
diff --git
a/ir/be/beirgmod.c
b/ir/be/beirgmod.c
index
71b8da9
..
220312b
100644
(file)
--- a/
ir/be/beirgmod.c
+++ b/
ir/be/beirgmod.c
@@
-304,7
+304,7
@@
static void fix_usages(pset *copies, pset *copy_blocks, pset *phi_blocks, pset *
for(i = 0; i < n_outs; ++i) {
ir_node *irn = outs[i].irn;
int pos = outs[i].pos;
- ir_mode *mode = get_irn_mode(
irn
);
+ ir_mode *mode = get_irn_mode(
get_irn_n(irn, pos)
);
ir_node *def;