From: Matthias Braun Date: Mon, 14 Aug 2006 14:52:48 +0000 (+0000) Subject: correct fix X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e0050b87aa8bf942628f94f9af091270c6b5c4d9;p=libfirm correct fix --- 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