From e0050b87aa8bf942628f94f9af091270c6b5c4d9 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 14 Aug 2006 14:52:48 +0000 Subject: [PATCH] correct fix --- ir/be/bespillslots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1