projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
19896ff
)
fix for looping memphis
author
Matthias Braun
<matze@braunis.de>
Mon, 14 Aug 2006 12:18:23 +0000
(12:18 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 14 Aug 2006 12:18:23 +0000
(12:18 +0000)
ir/be/bespillslots.c
patch
|
blob
|
history
diff --git
a/ir/be/bespillslots.c
b/ir/be/bespillslots.c
index
e39319d
..
481c23f
100644
(file)
--- a/
ir/be/bespillslots.c
+++ b/
ir/be/bespillslots.c
@@
-161,7
+161,7
@@
static spill_t *collect_memphi(ss_env_t *env, ir_node *node) {
arg_spill = collect_memphi(env, arg);
}
arg_spill = collect_memphi(env, arg);
}
- if(
i == 0
) {
+ if(
res->cls == NULL
) {
res->cls = arg_spill->cls;
} else {
assert(res->cls == arg_spill->cls);
res->cls = arg_spill->cls;
} else {
assert(res->cls == arg_spill->cls);