X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespillslots.c;h=ea0eee4f184afe54d3777a918c15239fb9196feb;hb=4ed245f5007168dab7850942a7ee6b6b29a19817;hp=481c23fe6bf889f1ffef5ecaf46f10367055d901;hpb=72c5c5e28e261c647c82af0961ddf19989ab09a9;p=libfirm diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c index 481c23fe6..ea0eee4f1 100644 --- a/ir/be/bespillslots.c +++ b/ir/be/bespillslots.c @@ -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