- at blockstart emit list of predblocks in comment
[libfirm] / ir / be / bespillslots.c
index 481c23f..ea0eee4 100644 (file)
@@ -164,7 +164,7 @@ static spill_t *collect_memphi(ss_env_t *env, ir_node *node) {
                if(res->cls == NULL) {
                        res->cls = arg_spill->cls;
                } else {
-                       assert(res->cls == arg_spill->cls);
+                       assert(arg_spill->cls == NULL || res->cls == arg_spill->cls);
                }
 
                // add an affinity edge